Fix incorrect skipping of control type rooms on import
This commit is contained in:
1 parent
c31ef96b3c
commit
c6ae64f920
1 file changed
+1
-1
@@ -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