Restore original behavior in import service regarding availability
This commit is contained in:
@@ -554,13 +554,13 @@ class DateImportService implements SingletonInterface, LoggerAwareInterface
|
||||
$price = (int) $roomXml->attributes()['preis'];
|
||||
|
||||
// Skip all unavailable rooms
|
||||
if (!$available) {
|
||||
// if (!$available) {
|
||||
// continue;
|
||||
// }
|
||||
// Skip rooms with zero price _and_ zero availability.
|
||||
if (!$available && !$price) {
|
||||
continue;
|
||||
}
|
||||
// Skip rooms with zero price and zero availability.
|
||||
//if (!$available && !$price) {
|
||||
// continue;
|
||||
//}
|
||||
|
||||
$pax = (int) $roomXml->attributes()['MaxPax'];
|
||||
$availableTotal += $available * $pax;
|
||||
|
||||
Reference in New Issue
Block a user