last changes since 6-2023
This commit is contained in:
parent
81e42b76f5
commit
148eb359ce
20 changed files with 27107 additions and 371 deletions
|
|
@ -58,6 +58,8 @@ class BookingRequest
|
|||
|
||||
private $salutation;
|
||||
|
||||
private $insuranceOffer;
|
||||
|
||||
/**
|
||||
* @Assert\NotBlank()
|
||||
*/
|
||||
|
|
@ -613,6 +615,22 @@ class BookingRequest
|
|||
$this->nation = $nation;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getInsuranceOffer()
|
||||
{
|
||||
return $this->insuranceOffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $insuranceOffer
|
||||
*/
|
||||
public function setInsuranceOffer($insuranceOffer)
|
||||
{
|
||||
$this->insuranceOffer = $insuranceOffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -266,6 +266,13 @@ class TravelBooking
|
|||
*/
|
||||
private $insurances;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="insurance_offer", type="string", length=255, nullable=true)
|
||||
*/
|
||||
private $insuranceOffer;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*
|
||||
|
|
@ -1285,6 +1292,30 @@ class TravelBooking
|
|||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set insuranceOffer
|
||||
*
|
||||
* @param string $insuranceOffer
|
||||
*
|
||||
* @return TravelBooking
|
||||
*/
|
||||
public function setInsuranceOffer($insuranceOffer)
|
||||
{
|
||||
$this->insuranceOffer = $insuranceOffer;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get insuranceOffer
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getInsuranceOffer()
|
||||
{
|
||||
return $this->insuranceOffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set travelCancellation
|
||||
*
|
||||
|
|
|
|||
|
|
@ -197,6 +197,9 @@ class TravelBookingRepository extends \Doctrine\ORM\EntityRepository
|
|||
$ret->setInsurances($insurances);
|
||||
}
|
||||
|
||||
$ret->setInsuranceOffer($bookingRequest->getInsuranceOffer());
|
||||
|
||||
|
||||
$ret->setRooms($bookingPriceInfo['rooms']);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue