Fixed:Room type details are not showing on the invoice after room reallocation with different room types

This commit is contained in:
Sumit Panwar
2024-05-21 15:34:08 +05:30
parent 38a7f38df8
commit 07afccacd2

View File

@@ -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) {