add proportional stockThreshold
This commit is contained in:
parent
3ee87a6f04
commit
9391a37a1e
10 changed files with 47 additions and 21 deletions
|
|
@ -37,6 +37,7 @@ function createArraySession($event, $session) {
|
|||
$arraySession['duration'] = $isMapadoEvent ? $event->remoteDuration() : $event->duration();
|
||||
$arraySession['ticketingUrl'] = $isMapadoEvent ? $session->ticketingUrl() : false;
|
||||
$arraySession['bookableStock'] = $isMapadoEvent ? $session->bookableStock()->value() : 'free';
|
||||
$arraySession['totalStock'] = $isMapadoEvent ? (int) $event->totalStock()->value() : 'free';
|
||||
$arraySession['color'] = $event->color();
|
||||
$arraySession['category'] = $event->category();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue