Reiseversicherung CRM Fehler

wieder rein, dafür display none

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3372 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-02-23 08:01:16 +00:00
parent 6b52080186
commit 751a904629
4 changed files with 28 additions and 7 deletions

View file

@ -357,8 +357,7 @@ class BookingController extends Controller
Util::formatPrice($singleFullPrice - $singleDiscountPrice) .' pro Person]</strong>'
];
}
/*
Preis für reisekostenversicherung
if ($bookingRequest->getInsurance() && $adultCount > 0)
{
$curAssessmentBasis = $insuranceAssessmentBasis + ($singleDiscountPrice ?? $singleFullPrice);
@ -388,7 +387,7 @@ class BookingController extends Controller
'count' => $adultCount,
];
}
}*/
}
}
}

View file

@ -40,7 +40,8 @@ class TravelBookingRepository extends \Doctrine\ORM\EntityRepository
$ret->setSelectedChild1(0);
$ret->setSelectedChild2(0);
$ret->setSelectedChild3(0);
/*
$insurance = $bookingRequest->getInsurance();
$ret->setInsuranceName($insurance ? $insurance->getName() : '0'); // #TODO Adapted from v2
if (empty($bookingPriceInfo['insurances']))
@ -59,7 +60,8 @@ class TravelBookingRepository extends \Doctrine\ORM\EntityRepository
];
}
$ret->setInsurances($insurances);
}*/
}
$ret->setTravelCancellation($bookingRequest->getTravelCancellation());
$ret->setParticipants($bookingRequest->getTravelers());
$ret->setParticipantsTotal($bookingRequest->getTravelerCount());

View file

@ -171,7 +171,7 @@ class BookingRequestType extends AbstractType
)]
]);
/*
$insuranceChoices = [];
if ($travelProgram->getInsurance1())
{
@ -193,7 +193,6 @@ class BookingRequestType extends AbstractType
]
]);
}
*/
//$travelDate->getPrices()[0]->getPriceType()
$builder->add('travelCancellation', CheckboxType::class, ['required' => false]);