#1352 - Anpassungen
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3355 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
a2d4159c88
commit
8240ce87f9
9 changed files with 670 additions and 230 deletions
|
|
@ -164,7 +164,6 @@ class AdminController extends Controller
|
|||
$lodging = $fewoLodgingRepo->find($lodgingId);
|
||||
$reservations = $calendarUtil->getReservations($lodging);
|
||||
|
||||
|
||||
$paddedCalendar = $calendarUtil->getCalendarWithPadding();
|
||||
$calendar = $calendarUtil->getCalendar();
|
||||
if (count($lodging->getPrices()->toArray()) != 0)
|
||||
|
|
@ -220,6 +219,8 @@ class AdminController extends Controller
|
|||
return $this->redirect('/admin/fewo/lodgings');
|
||||
}
|
||||
|
||||
|
||||
// todo, WEG
|
||||
/**
|
||||
* @Route("/admin/fewo/lodgings/{lodgingId}/program", requirements={"lodgingId": "\d+"})
|
||||
*/
|
||||
|
|
@ -243,6 +244,7 @@ class AdminController extends Controller
|
|||
$calendar = $paddedCalendar;
|
||||
}
|
||||
|
||||
|
||||
return $this->render('default/pages/cms/fewoTravelProgram.html.twig', [
|
||||
'fewo_lodging' => $lodging,
|
||||
'calendar' => $calendar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue