{{-- 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 @foreach ($data as $row) @if (isset($company) && $company) @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')) !!}
{{ $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}} {{ $row->extra->user->last_name}} @else @t('N/A') @endif @endif {{ amount( $row->amount, [ 'to' => $row->currency_id ] ) }} @if (in_array($row->status, ['active', 'pending'])) {{ amount( $row->net_amount, [ 'to' => $row->currency_id ] ) }} @else {{ $row->status }} @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 @datetime($row->created) {{ $row->status }} {{ $row->type }} @if ($row->type == 'manual') ( {{ $row->payment }} ) @endif
{!! pagination(['total' => $pagination_total]) !!}