{{-- This is venue centric list which means the venue is the same, but users are different Therefore no venue column --}} @if (isset($company) && $company) @endif @if (isset($settings->content->waiver) && $settings->content->waiver) @endif @foreach ($data as $row) @if (isset($company) && $company) @endif @if (isset($settings->content->waiver) && $settings->content->waiver) @endif @endforeach
{!! pagination_sort('id', t('ID')) !!}@t('Venue')@t('Name') @t('Total Amount') @t('Net Amount') {!! pagination_sort('date', t('Date')) !!} {!! pagination_sort('created', t('Created')) !!} {!! pagination_sort('status', t('Status')) !!} {!! pagination_sort('type', t('Type')) !!}@t('Waiver')
{{ $row->id }} {{ $row->Venue->name }} @if ($row->user_id) {{ $row->User->first_name }} {{ $row->User->last_name }} @else @if (isset($row->extra->user)) {{ $row->extra->user->first_name}} @if (isset($row->extra->user->last_name) && $row->extra->user->last_name) {{ $row->extra->user->last_name}} @endif @else @t('N/A') @endif @endif {{ amount( $row->amount, [ 'Currency' => oa($row->Currency) ] ) }} @if (in_array($row->status, ['cancelled'])) {{ $row->status }} @else {{ amount( $row->net_amount, [ 'Currency' => oa($row->Currency) ] ) }} @endif @if ($row->event_id) @date($row->date) @if ($row->end_date) @if (isset($row->days) && $row->days > 0) - @date($row->end_date) @else · @time($row->start_time) - @time($row->end_time) @endif @endif @else @date($row->date) @if ($row->end_date) @if (isset($row->days) && $row->days > 0) - @date($row->end_date) @else · @time($row->start_time) - @time($row->end_time) @endif @endif @endif @timestamp($row->created) {{ $row->status }} {{ $row->type }} @if ($row->type == 'manual') @if ( isset(oa($payment_options)[$row->payment]) && oa($payment_options)[$row->payment] ) ( {{ oa($payment_options)[$row->payment] }} ) @else ( {{ str_replace('_', ' ', $row->payment) }} ) @endif @endif {{ ($row->has_waiver > 0 ? __('Yes') : '') }} @if (isset($settings->content->show_ticket_popup) && $settings->content->show_ticket_popup) @endif
{!! pagination(['total' => $pagination_total]) !!}