Fixed: the taxes for demands not being set properly
This commit is contained in:
@@ -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.'),';
|
||||
|
||||
Reference in New Issue
Block a user