From 07afccacd259654a6ccae486d2bdc07b81e1d595 Mon Sep 17 00:00:00 2001 From: Sumit Panwar Date: Tue, 21 May 2024 15:34:08 +0530 Subject: [PATCH] Fixed:Room type details are not showing on the invoice after room reallocation with different room types --- modules/hotelreservationsystem/classes/HotelBookingDetail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hotelreservationsystem/classes/HotelBookingDetail.php b/modules/hotelreservationsystem/classes/HotelBookingDetail.php index 047e1de46..8ef13479e 100644 --- a/modules/hotelreservationsystem/classes/HotelBookingDetail.php +++ b/modules/hotelreservationsystem/classes/HotelBookingDetail.php @@ -1788,6 +1788,7 @@ class HotelBookingDetail extends ObjectModel // change product name in order detail table $objOrderDetail = new OrderDetail((int) $objHotelBooking->id_order_detail); $objOrderDetail->product_name = $objProduct->name; + $objOrderDetail->product_id = $idNewRoomType; // manage the prices in the order tables for the price diffrence if ($priceDiffTaxExcl != 0) {