[-] IN : remove warnings while upgrading
This commit is contained in:
@@ -122,7 +122,9 @@ function migrate_orders()
|
||||
if ($sum_total_products > 0)
|
||||
$average_tax_used += $sum_tax_amount / $sum_total_products;
|
||||
$average_tax_used = round($average_tax_used, 4);
|
||||
$carrier_tax_rate = 1 + ((float)$order['carrier_tax_rate'] / 100);
|
||||
$carrier_tax_rate = 1;
|
||||
if (isset($order['carrier_tax_rate']))
|
||||
$carrier_tax_rate + ((float)$order['carrier_tax_rate'] / 100);
|
||||
|
||||
$total_discount_tax_excl = $order['total_discounts'] / $average_tax_used;
|
||||
$order['total_discounts_tax_incl'] = (float)$order['total_discounts'];
|
||||
|
||||
Reference in New Issue
Block a user