Remove $_total_products_wo_taxes_export in refund

This commit is contained in:
Michael RICOIS 2018-02-01 16:26:44 +01:00
parent 27ca6d9652
commit ccc1331763

View File

@ -852,7 +852,7 @@ if($slipNb > 0) {
$_total_products_wo_taxes_export = 0.0;
foreach($total_products_wo_taxes_export as $value) {
//$_total_products_wo_taxes_export += $value;
$_total_products_wo_taxes_export += $value;
}
$refundreason = Db::getInstance()->getValue('
@ -911,7 +911,7 @@ if($slipNb > 0) {
'-'.$_total_taxes_60,
'-'.$_total_products_wo_taxes_40,
'-'.$_total_taxes_40,
'-'.$_total_products_wo_taxes_export,
'0.0',//'-'.$_total_products_wo_taxes_export,
'-'.($slip['shipping_cost'] == 1 ? ($address['id_country'] != 19 ? (float) $order['total_shipping'] / (1 + $order['carrier_tax_rate'] / 100) : 0.0) : 0.0),
'-'.($slip['shipping_cost'] == 1 ? ($address['id_country'] != 19 ? 0.0 : $order['total_shipping']) : 0.0),
$country,