Fixed: the taxes for demands not being set properly

This commit is contained in:
vishalsingh.qlo325
2025-02-04 12:44:46 +05:30
parent 24332a368a
commit 00a879a420

View File

@@ -204,7 +204,7 @@ class HotelBookingDemands extends ObjectModel
}
// Rounding as per configurations
$totalAmount += Tools::processPriceRounding($amount, $quantity);
$totalAmount = Tools::processPriceRounding($amount, $quantity);
$values .= '('.(int)$this->id.','.(int)$idTax.','.(float)$amount.','.
(float)$totalAmount.'),';