Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SAMBUMBA
pasteque-server
Commits
5a3f1a06
Commit
5a3f1a06
authored
Feb 23, 2018
by
Karamel
Browse files
Fix taxCat in cash session summary for desktop.
parent
f239d906
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/API/CashsessionAPI.php
View file @
5a3f1a06
...
...
@@ -333,6 +333,10 @@ class CashsessionAPI extends APIHelper implements API
}
$summaryCats
[
$catId
][
'amount'
]
+=
$finalPrice
;
// Category tax
if
(
$line
->
getTax
()
===
null
)
{
continue
;
}
$taxId
=
$line
->
getTax
()
->
getId
();
if
(
!
isset
(
$summaryCatTaxes
[
$catId
]))
{
$summaryCatTaxes
[
$catId
]
=
[];
}
...
...
Write
Preview
Supports
Markdown
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