From 00a879a4204b70d20a7eec7dbd17b13f091d11b2 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Tue, 4 Feb 2025 12:44:46 +0530 Subject: [PATCH] Fixed: the taxes for demands not being set properly --- modules/hotelreservationsystem/classes/HotelBookingDemands.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hotelreservationsystem/classes/HotelBookingDemands.php b/modules/hotelreservationsystem/classes/HotelBookingDemands.php index f4f51bbef..131b0e6c4 100644 --- a/modules/hotelreservationsystem/classes/HotelBookingDemands.php +++ b/modules/hotelreservationsystem/classes/HotelBookingDemands.php @@ -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.'),';