fix: update country property when editing/creating destination
This commit is contained in:
@@ -36,7 +36,8 @@ trait DestinationTrait
|
|||||||
->setHotel($hotel->getName())
|
->setHotel($hotel->getName())
|
||||||
->setHotelCode($hotel->getCode())
|
->setHotelCode($hotel->getCode())
|
||||||
->setHotelBusProId($hotel->getBusProId())
|
->setHotelBusProId($hotel->getBusProId())
|
||||||
|
->setCountry($destinationDto->getCountry())
|
||||||
->setPickups($pickups)
|
->setPickups($pickups)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ class DestinationDto
|
|||||||
->setDateFrom($destination->getDateFrom())
|
->setDateFrom($destination->getDateFrom())
|
||||||
->setDateTo($destination->getDateTo())
|
->setDateTo($destination->getDateTo())
|
||||||
->setHotelBusProId($destination->getHotelBusProId())
|
->setHotelBusProId($destination->getHotelBusProId())
|
||||||
|
->setCountry($destination->getCountry())
|
||||||
->setPickups($pickupIds)
|
->setPickups($pickupIds)
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -114,4 +115,4 @@ class DestinationDto
|
|||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user