Merge branch 'develop' into gli-2941

This commit is contained in:
amit sharma
2026-09-08 14:22:40 +05:30
147 changed files with 10256 additions and 409 deletions

View File

@@ -364,6 +364,14 @@ class ParentOrderControllerCore extends FrontController
0
);
foreach ($standaloneProducts as &$standaloneProduct) {
if (TaxConfiguration::isGrossedUp($standaloneProduct['tourism_tax_amount'])) {
$standaloneProduct['unit_price_tax_incl'] += $standaloneProduct['tourism_tax_amount'] / max(1, (int) $standaloneProduct['quantity']);
$standaloneProduct['total_price_tax_incl'] += $standaloneProduct['tourism_tax_amount'];
}
}
unset($standaloneProduct);
if (count($standaloneProducts)) {
$this->context->smarty->assign('standalone_products', $standaloneProducts);
}