From 56b409e0cd36eb5524e7a1603941fb22fc14af9c Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Tue, 4 Feb 2025 15:06:41 +0530 Subject: [PATCH] Fixed: id tax rules group not being set properly for the demo services causing issues in the invoie --- modules/hotelreservationsystem/classes/HotelHelper.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/hotelreservationsystem/classes/HotelHelper.php b/modules/hotelreservationsystem/classes/HotelHelper.php index 137697e46..3f015a90a 100644 --- a/modules/hotelreservationsystem/classes/HotelHelper.php +++ b/modules/hotelreservationsystem/classes/HotelHelper.php @@ -2231,6 +2231,10 @@ class HotelHelper $objProduct->price_calculation_method = $serviceProduct['price_calculation_method']; $objProduct->is_virtual = 1; $objProduct->indexed = 1; + if ($objProduct->auto_add_to_cart && $objProduct->price_addition_type == Product::PRICE_ADDITION_TYPE_WITH_ROOM) { + $objProduct->id_tax_rules_group = 0; + } + $objProduct->save(); $idProduct = $objProduct->id;