fix: include cost unit when importing new destination

This commit is contained in:
Björn Fromme
2025-03-19 15:36:13 +01:00
parent 3107f87cdf
commit 66c58e42a7
+1
View File
@@ -117,6 +117,7 @@ class BpnImportCommand extends Command
'hotel_code' => $hotel->getCode(), 'hotel_code' => $hotel->getCode(),
'hotel_bus_pro_id' => $hotelBusProId, 'hotel_bus_pro_id' => $hotelBusProId,
'pickups' => json_encode($datePickups), 'pickups' => json_encode($datePickups),
'cost_unit' => $hotel->getCostUnit(),
'country' => $hotel->getCountry(), 'country' => $hotel->getCountry(),
'created_at' => (new \DateTimeImmutable())->format('Y-m-d H:i:s') 'created_at' => (new \DateTimeImmutable())->format('Y-m-d H:i:s')
]) ])