#8993: Fehlerhafte Steuerberechnung wenn Gutschein eingelöst wurde

Falsche Tax wenn der Shop im Netto-Modus läuft und ein Gutschein verwendet wurde
This commit is contained in:
Markus Gärtner 2019-07-25 16:29:08 +02:00
parent 2ac1e581f7
commit daa5d8557c
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
[{else}]
[{math equation="s / r" s=$order->getTotalOrderSum() r=$currate format="%.2f" assign="sTotal"}] [{* // total - required *}]
[{/if}]
[{math equation="s - r" s=$order->getTotalOrderSum() r=$order->getOrderNetSum() format="%.2f" assign="sTax"}]
[{math equation="s - r" s=$order->oxorder__oxartvatprice1->value r=$order->oxorder__oxartvatprice2->value format="%.2f" assign="sTax"}]
[{math equation="s / r" s=$order->oxorder__oxdelcost->value r=$currate format="%.2f" assign="sShipping"}]
ga('ecommerce:addTransaction', {