Implement day trip option for products

This commit is contained in:
Björn Fromme
2018-08-07 17:42:04 +02:00
parent 464111b5e0
commit 07b0ad3102
13 changed files with 288 additions and 118 deletions
@@ -67,6 +67,11 @@ class BookingViewHelper extends AbstractViewHelper
if ($template === null) {
$template = $this->settings['bpnBookingUrlTemplateCode'];
}
return BookingUrlUtility::generateUrl($bookingId, $hotelId, $template);
$options = [
'bookingId' => $bookingId,
'hotelId' => $hotelId,
'template' => $template,
];
return BookingUrlUtility::generateUrl($options);
}
}