Merge pull request #554 from lakshya-webkul/gli-1147
Resolved: room status update issue from active to inactive.
This commit is contained in:
@@ -432,7 +432,7 @@ class HotelCartBookingData extends ObjectModel
|
||||
}
|
||||
|
||||
// return number of rooms deleted
|
||||
return $numRooms;
|
||||
return true;
|
||||
}
|
||||
|
||||
public function addCartBookingData(
|
||||
|
||||
@@ -76,7 +76,7 @@ class HotelRoomInformation extends ObjectModel
|
||||
{
|
||||
if ($idRoom = $this->id) {
|
||||
// delete rooms from cart which are set inactive
|
||||
if ($this->id_status == 2) {
|
||||
if ($this->id_status == self::STATUS_INACTIVE) {
|
||||
$objCartBookingData = new HotelCartBookingData();
|
||||
if (!$objCartBookingData->deleteCartBookingData(0, 0, $idRoom)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user