Fixed: Fixed tax issues for services having per day price calculation
This commit is contained in:
committed by
vishalsingh.qlo325
parent
5600221be7
commit
51d1dffe21
@@ -6169,7 +6169,9 @@ class AdminOrdersControllerCore extends AdminController
|
||||
$oldProductQuantity = $objServiceProductOrderDetail->quantity * $oldNumDays;
|
||||
$newProductQuantity = $objServiceProductOrderDetail->quantity * $newNumDays;
|
||||
$objOrderDetail->product_quantity += ($newProductQuantity - $oldProductQuantity);
|
||||
|
||||
$objOrderDetail->save();
|
||||
$objOrderDetail->updateTaxAmount($order);
|
||||
|
||||
if (isset($order_invoice)) {
|
||||
$order_invoice->total_paid_tax_excl -= $objServiceProductOrderDetail->total_price_tax_excl;
|
||||
|
||||
Reference in New Issue
Block a user