@@ 420-424 (lines=5) @@ | ||
417 | } |
|
418 | // total spaces available is just the sum of the spaces available for each datetime |
|
419 | $spaces_remaining = array_sum($this->total_spaces); |
|
420 | if ($this->debug) { |
|
421 | \EEH_Debug_Tools::printr($this->total_spaces, '$this->total_spaces', __FILE__, __LINE__); |
|
422 | \EEH_Debug_Tools::printr($this->tickets_sold, '$this->tickets_sold', __FILE__, __LINE__); |
|
423 | \EEH_Debug_Tools::printr($spaces_remaining, '$spaces_remaining', __FILE__, __LINE__); |
|
424 | } |
|
425 | return $spaces_remaining; |
|
426 | } |
|
427 | ||
@@ 508-512 (lines=5) @@ | ||
505 | \EEH_Debug_Tools::printr(' ', ' . NO TICKETS AVAILABLE FOR DATETIME', __FILE__, __LINE__); |
|
506 | } |
|
507 | } |
|
508 | if ($this->debug) { |
|
509 | \EEH_Debug_Tools::printr($this->total_spaces[ $datetime_identifier ], '$total_spaces', __FILE__, |
|
510 | __LINE__); |
|
511 | \EEH_Debug_Tools::printr($this->ticket_quantities, '$ticket_quantities', __FILE__, __LINE__); |
|
512 | \EEH_Debug_Tools::printr($this->datetime_spaces, 'datetime_spaces', __FILE__, __LINE__); |
|
513 | } |
|
514 | } |
|
515 |