fix bookableStock
This commit is contained in:
parent
ea052d22f0
commit
9b4e35f3af
8 changed files with 79 additions and 28 deletions
|
|
@ -40,7 +40,13 @@ return function($page) {
|
|||
$isStillShowing = false;
|
||||
|
||||
foreach ($sessions->toStructure() as $session) {
|
||||
$currentSeasonSessions[] = $session->toArray();
|
||||
$arraySession = $session->toArray();
|
||||
$arraySession['title'] = $event->title()->value();
|
||||
$arraySession['authors'] = $event->authors();
|
||||
$arraySession['place'] = $event->place();
|
||||
$arraySession['duration'] = $event->isMapadoEvent() == 'true' ? $event->remoteDuration() : $event->duration();
|
||||
$arraySession['ticketingUrl'] = '';
|
||||
$currentSeasonSessions[] = $arraySession;
|
||||
|
||||
$sessionDate = str_replace('-', '', $session->date()->toDate('YMMdd'));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue