Vaidator Booking E-Mail and traveler Date

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3373 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-02-23 16:25:10 +00:00
parent 751a904629
commit fd9509420d
5 changed files with 26 additions and 4 deletions

View file

@ -87,6 +87,7 @@ class BookingController extends Controller
if ($request->getMethod() == 'POST' && $form->isValid())
{
$booking = $this->getDoctrine()->getRepository('AppBundle:TravelBooking')->createFromBookingRequest(
$bookingRequest, $travelDate, $bookingPriceInfo);
$em = $this->getDoctrine()->getManager();