fix: update country property when editing/creating destination

This commit is contained in:
Björn Fromme
2025-04-08 17:48:07 +02:00
parent a7314ce549
commit 299c37c823
2 changed files with 4 additions and 2 deletions
@@ -36,7 +36,8 @@ trait DestinationTrait
->setHotel($hotel->getName())
->setHotelCode($hotel->getCode())
->setHotelBusProId($hotel->getBusProId())
->setCountry($destinationDto->getCountry())
->setPickups($pickups)
;
}
}
}
+2 -1
View File
@@ -37,6 +37,7 @@ class DestinationDto
->setDateFrom($destination->getDateFrom())
->setDateTo($destination->getDateTo())
->setHotelBusProId($destination->getHotelBusProId())
->setCountry($destination->getCountry())
->setPickups($pickupIds)
;
@@ -114,4 +115,4 @@ class DestinationDto
return $this;
}
}
}