wip: first working version
This commit is contained in:
@@ -166,14 +166,16 @@ class TravelDataLoader extends AbstractDataLoader
|
||||
|
||||
$room = new Room();
|
||||
$room->id = $roomId;
|
||||
$room->code = (string) $item->attributes()['zimmercode'];
|
||||
$room->label = (string) $item->attributes()['zimmertext'];
|
||||
$room->minPax = (int) $item->attributes()['MinPax'];
|
||||
$room->maxPax = (int) $item->attributes()['MaxPax'];
|
||||
$room->nights = (int) $item->attributes()['naechte'];
|
||||
$room->code = (string) $attributes['zimmercode'];
|
||||
$room->category = (string) $attributes['kat'];
|
||||
$room->boardId = (int) $attributes['idbuspro_vp'];
|
||||
$room->label = (string) $attributes['zimmertext'];
|
||||
$room->minPax = (int) $attributes['MinPax'];
|
||||
$room->maxPax = (int) $attributes['MaxPax'];
|
||||
$room->nights = (int) $attributes['naechte'];
|
||||
$room->price = $attributes['preis'] ? $this->stringToFloat((string) $attributes['preis']) : null;
|
||||
$room->status = (string) $item->status;
|
||||
$room->available = (int) $item->attributes()['verfuegbar'];
|
||||
$room->available = (int) $attributes['verfuegbar'];
|
||||
|
||||
$rooms[$roomId] = $room;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user