page programme avancée

This commit is contained in:
isUnknown 2024-09-02 16:32:21 +02:00
parent 9b4e35f3af
commit 3fef9cdade
6 changed files with 49 additions and 30 deletions

View file

@ -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;
}
}