page programme avancée
This commit is contained in:
parent
9b4e35f3af
commit
3fef9cdade
6 changed files with 49 additions and 30 deletions
|
|
@ -46,13 +46,14 @@ return function($page) {
|
|||
$arraySession['place'] = $event->place();
|
||||
$arraySession['duration'] = $event->isMapadoEvent() == 'true' ? $event->remoteDuration() : $event->duration();
|
||||
$arraySession['ticketingUrl'] = '';
|
||||
$arraySession['bookableStock'] = $event->isMapadoEvent() == 'true' ? $session->bookableStock()->value() : 'free';
|
||||
$arraySession['color'] = $event->color();
|
||||
$currentSeasonSessions[] = $arraySession;
|
||||
|
||||
$sessionDate = str_replace('-', '', $session->date()->toDate('YMMdd'));
|
||||
|
||||
if ($sessionDate >= $today) {
|
||||
$isStillShowing = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue