@extends('backend.partials.master') @section('title') {{ ___('admin.event_ad8919') }} & {{ ___('admin.conference_8a1e29') }} @endsection @section('maincontent') @if(hasPermission('event_tour_create')) {{ ___('admin.add_61cc55') }} @endif @if(!empty($analytics)) @endif @foreach($items as $r) @php $sc = \Illuminate\Support\Str::contains(strtolower($r->status), ['cancel','reject','inactive','closed','paused','fail']) ? 'danger' : (\Illuminate\Support\Str::contains(strtolower($r->status), ['pend','process','plan','inquiry','open']) ? 'warning' : 'success'); @endphp {{ $r->title }} {{ admin_label($r->type) }} {{ $r->location }} {{ optional($r->event_date) ? \Illuminate\Support\Carbon::parse($r->event_date)->translatedFormat('d M Y') : '' }} {{ $r->seatsLeft() }} / {{ $r->seats }} {{ ___('admin.left_12c0f1') }} {{ admin_label($r->status) }}
@if(hasPermission('event_tour_update')) @endif @if(hasPermission('event_tour_delete')) @endif
@endforeach
@endsection @push('scripts') @endpush