Fix incorrect skipping of control type rooms on import
This commit is contained in:
@@ -245,7 +245,7 @@ class ContingentImportService implements SingletonInterface
|
||||
$availableRooms = (int) $xmlRoom['frei'] > 0 ? (int) $xmlRoom['frei'] : 0;
|
||||
$availablePax = $availableRooms * $roomType['pax'];
|
||||
}
|
||||
if ($availablePax === 0) {
|
||||
if ($availablePax === 0 && $roomType['ctrl'] === false) {
|
||||
continue;
|
||||
}
|
||||
$minPrice = (int) $xmlRoom['abpreis'];
|
||||
|
||||
Reference in New Issue
Block a user