fix: use correct property path for travel date determination
This commit is contained in:
@@ -70,7 +70,7 @@ class DraftBackfillTravelDateCommand extends Command
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$travelDate = $bookingData->travel->dateFrom ?? null;
|
$travelDate = $bookingData->travelDate;
|
||||||
|
|
||||||
if (null === $travelDate) {
|
if (null === $travelDate) {
|
||||||
$io->warning(sprintf('No travel date found for booking %d', $bookingId));
|
$io->warning(sprintf('No travel date found for booking %d', $bookingId));
|
||||||
|
|||||||
Reference in New Issue
Block a user