fix
This commit is contained in:
parent
2f0a8f36d8
commit
e58e630f9b
5 changed files with 27 additions and 31 deletions
|
|
@ -34,7 +34,7 @@ function createArraySession($event, $session) {
|
|||
$arraySession['place'] = $event->place();
|
||||
$arraySession['public'] = $event->public();
|
||||
$arraySession['event-url'] = $event->url();
|
||||
$arraySession['duration'] = $isMapadoEvent ? $event->remoteDuration() : $event->duration();
|
||||
$arraySession['duration'] = $event->duration();
|
||||
$arraySession['ticketingUrl'] = $isMapadoEvent ? $session->ticketingUrl() : false;
|
||||
$arraySession['bookableStock'] = $isMapadoEvent ? $session->bookableStock()->value() : 'free';
|
||||
$arraySession['totalStock'] = $isMapadoEvent ? (int) $event->totalStock()->value() : 'free';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue