Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
third-party
Commits
1c643c93
Commit
1c643c93
authored
Oct 06, 2022
by
Damien Moulard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '3838-export-pos-hour' into 'dev_cooperatic'
3838-export-pos-hour See merge request
!198
parents
04f149b4
3dace800
Pipeline
#2412
passed with stage
in 1 minute 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
views.py
outils/views.py
+1
-1
No files found.
outils/views.py
View file @
1c643c93
...
@@ -219,7 +219,7 @@ class ExportPOS(View):
...
@@ -219,7 +219,7 @@ class ExportPOS(View):
totals
[
key
][
'CB_DEJ'
]
+=
cbd
totals
[
key
][
'CB_DEJ'
]
+=
cbd
totals
[
key
][
'CHQ_DEJ'
]
+=
chqd
totals
[
key
][
'CHQ_DEJ'
]
+=
chqd
totals
[
key
][
'TOTAL'
]
+=
round
(
sub_total
,
2
)
totals
[
key
][
'TOTAL'
]
+=
round
(
sub_total
,
2
)
details_lines
.
append
([
mois
,
s
[
'mm_dates'
][
'min'
],
s
[
'mm_dates'
][
'm
in
'
],
s
[
'caisse'
],
s
[
'name'
],
details_lines
.
append
([
mois
,
s
[
'mm_dates'
][
'min'
],
s
[
'mm_dates'
][
'm
ax
'
],
s
[
'caisse'
],
s
[
'name'
],
cb
,
csh
,
chq
,
cbd
,
chqd
,
sub_total
])
cb
,
csh
,
chq
,
cbd
,
chqd
,
sub_total
])
wb
=
Workbook
()
wb
=
Workbook
()
ws1
=
wb
.
create_sheet
(
"Totaux "
+
mois
,
0
)
ws1
=
wb
.
create_sheet
(
"Totaux "
+
mois
,
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment