@if ($isServerSide)
@endif
@if ($isServerSide)
| @endif @foreach ($dataType->browseRows as $row) | @if ($isServerSide) @endif {{ $row->getTranslatedAttribute('display_name') }} @if ($isServerSide) @if ($row->isCurrentSortField($orderBy)) @if ($sortOrder == 'asc') @else @endif @endif @endif | @endforeach{{ __('eventmie-pro::em.transaction_id') }} | {{ __('eventmie-pro::em.expired') }} | {{ __('voyager::generic.actions') }} |
|---|---|---|---|---|
| @endif @foreach ($dataType->browseRows as $row) @php if ($data->{$row->field . '_browse'}) { $data->{$row->field} = $data->{$row->field . '_browse'}; } @endphp |
@if (isset($row->details->view))
@include($row->details->view, [
'row' => $row,
'dataType' => $dataType,
'dataTypeContent' => $dataTypeContent,
'content' => $data->{$row->field},
'action' => 'browse',
])
@elseif($row->type == 'image')
{{ mb_strlen($data->{$row->field}) > 200 ? mb_substr($data->{$row->field}, 0, 200) . ' ...' : $data->{$row->field} }}
@elseif($row->type == 'text_area')
@include('voyager::multilingual.input-hidden-bread-browse')
{{ mb_strlen($data->{$row->field}) > 200 ? mb_substr($data->{$row->field}, 0, 200) . ' ...' : $data->{$row->field} }}
@elseif($row->type == 'file' && !empty($data->{$row->field}))
@include('voyager::multilingual.input-hidden-bread-browse')
@if (json_decode($data->{$row->field}) !== null)
@foreach (json_decode($data->{$row->field}) as $file)
{{ $file->original_name ?: '' }}
@endforeach @else {{ __('voyager::generic.download') }} @endif @elseif($row->type == 'rich_text_box') @include('voyager::multilingual.input-hidden-bread-browse')
{{ mb_strlen(strip_tags($data->{$row->field}, '')) > 200 ? mb_substr(strip_tags($data->{$row->field}, ''), 0, 200) . ' ...' : strip_tags($data->{$row->field}, '') }}
@elseif($row->type == 'coordinates')
@include('voyager::partials.coordinates-static-image')
@elseif($row->type == 'multiple_images')
@php $images = json_decode($data->{$row->field}); @endphp
@if ($images)
@php $images = array_slice($images, 0, 3); @endphp
@foreach ($images as $image)
|
@endforeach
@if ($data->transaction_id) @php $transaction = Transaction::where( 'id', $data->transaction_id, )->first(); if ($transaction) { $transaction = $transaction->txn_id; } @endphp {{ $transaction }} @else N/A @endif | {{ \Carbon\Carbon::parse($data->event_end_date . ' ' . $data->event_end_time)->timezone(setting('regional.timezone_default')) <= \Carbon\Carbon::now()->timezone(setting('regional.timezone_default')) ? __('voyager::generic.yes') : __('voyager::generic.no') }} |
{{-- delete event from frontend --}}
{{-- Single delete modal --}}
|
{{ trans_choice('voyager::generic.showing_entries', $dataTypeContent->total(), [
'from' => $dataTypeContent->firstItem(),
'to' => $dataTypeContent->lastItem(),
'all' => $dataTypeContent->total(),
]) }}
{{ $dataTypeContent->appends([
's' => $search->value,
'filter' => $search->filter,
'key' => $search->key,
'order_by' => $orderBy,
'sort_order' => $sortOrder,
'showSoftDeleted' => $showSoftDeleted,
])->onEachSide(1)->links('pagination::bootstrap-4') }}
@endif