Fixed: getting validation issue if reallocation is done from Book Now page from back-office.
This commit is contained in:
@@ -198,7 +198,7 @@ class AdminHotelRoomsBookingController extends ModuleAdminController
|
||||
$this->errors[] = $this->l('Selected room is not available for reallocation.');
|
||||
} elseif (!in_array($idRoomToReallocate, array_column($availableRooms, 'id_room'))) {
|
||||
$this->errors[] = $this->l('Selected room is not available for reallocation.');
|
||||
} elseif (!Validate::isPrice($priceDiff)) {
|
||||
} elseif (!Validate::isFloat($priceDiff)) {
|
||||
$this->errors[] = $this->l('Invalid price difference of the room types.');
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user