Skip to content

Commit

Permalink
Fixed sum in dashboard sales for bundle products
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Apr 22, 2023
1 parent 8e78f9c commit c2cc064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/dashboard-sales.js
Expand Up @@ -158,6 +158,7 @@ Aimeos.Dashboard.Sales = {
{">=": {"order.statuspayment": 5}},
{">": {"order.ctime": startdate.toISOString().substr(0, 19)}},
{"<=": {"order.ctime": enddate.toISOString().substr(0, 19)}},
{"==": {"order.product.orderproductid": null}},
{"||": [
{"==": {"order.product.statuspayment": -1}},
{">=": {"order.product.statuspayment": 5}}
Expand Down Expand Up @@ -222,6 +223,7 @@ Aimeos.Dashboard.Sales = {
{">=": {"order.statuspayment": 5}},
{">": {"order.ctime": startdate.toISOString().substr(0, 19)}},
{"<=": {"order.ctime": enddate.toISOString().substr(0, 19)}},
{"==": {"order.product.orderproductid": null}},
{"||": [
{"==": {"order.product.statuspayment": -1}},
{">=": {"order.product.statuspayment": 5}}
Expand Down Expand Up @@ -289,6 +291,7 @@ Aimeos.Dashboard.Sales = {
{">=": {"order.statuspayment": 5}},
{">": {"order.ctime": startdate.toISOString().substr(0, 19)}},
{"<=": {"order.ctime": enddate.toISOString().substr(0, 19)}},
{"==": {"order.product.orderproductid": null}},
{"||": [
{"==": {"order.product.statuspayment": -1}},
{">=": {"order.product.statuspayment": 5}}
Expand Down

0 comments on commit c2cc064

Please sign in to comment.