Skip to content

Commit

Permalink
[OrderBundle] fix precison/factor for Payment Total
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Sep 6, 2024
1 parent 490d711 commit 5a4dad4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ coreshop.order.order.detail.blocks.detail = Class.create(coreshop.order.order.de
return '<span style="font-weight:bold">' + coreshop.util.format.currency_precision(
this.sale.baseCurrency.isoCode,
value,
pimcore.globalmanager.get('coreshop.currency.decimal_precision'),
pimcore.globalmanager.get('coreshop.currency.decimal_factor'),
data.precision,
data.factor,
) + '</span>';
}

Expand All @@ -295,8 +295,8 @@ coreshop.order.order.detail.blocks.detail = Class.create(coreshop.order.order.de
return '<span style="font-weight:bold">' + coreshop.util.format.currency_precision(
this.sale.currency.isoCode,
value,
pimcore.globalmanager.get('coreshop.currency.decimal_precision'),
pimcore.globalmanager.get('coreshop.currency.decimal_factor'),
data.precision,
data.factor,
) + '</span>';
}

Expand Down

0 comments on commit 5a4dad4

Please sign in to comment.