fixed price issue when booking is donewithout occupancy

This commit is contained in:
Shreesh Arora
2024-12-13 15:26:05 +05:30
parent 5f64bc6a96
commit 4d739bf63d

View File

@@ -662,7 +662,7 @@ class HotelRoomTypeFeaturePricing extends ObjectModel
if (is_array($occupancy) && count($occupancy)) {
$quantity = count($occupancy);
} else {
$quantity = 1;
$quantity = $occupancy;
}
// Initializations