@extends('layouts.app') @section('title') {{ __('messages.Bookings') }} @endsection @section('content')
@include('inc.breadcrumb', [ 'breadcrumb_items' => [ __('messages.Home') => route('home'), __('messages.Bookings') => 'active', ], ])
@if ($user_name) {{ __("messages.Client") }} : {{ $user_name }} @endif @if ($group_name) {{ __("messages.Group") }} : {{ $group_name }} @endif @if ($hall_name) {{ __("messages.Hall") }} : {{ $hall_name }} @endif @if ($show_name) {{ __("messages.Show") }} : {{ $show_name }} @endif @if ($date) {{ __("messages.Show Date") }} : {{ \Carbon\Carbon::parse($date)->format('Y-m-d h:i:s A') }} @endif

@php $i = 1; $skipCount = $data->perPage() * $data->currentPage() - $data->perPage(); @endphp @include('inc.is_empty_data', [ 'var_check_empty' => $data, 'var_check_empty_rows' => 7, ]) @foreach ($data as $item) @php $i++ @endphp @if ($item->is_booking_from_admin) @else @endif @endforeach
# {{ __('messages.Client') }} {{ __('messages.Show') }} {{ __('messages.Show Date') }} {{ __('messages.Hall') }} {{ __('messages.Count Tickets') }} {{ __('messages.Details') }}
{{ $skipCount + $i }}{{ __('messages.Via the box office') }} ( {{ $item->user->name }} ){{ $item->user->name }}{{ $item->show_date->show->name }} {{ \Carbon\Carbon::parse($item->show_date->date_time)->format('Y-m-d h:i A') }} {{ $item->show_date->show->hall->name }} {{ $item->booking_seats_count }} @can('show_ticket') {{ __('messages.Details') }} @endcan
{{ $data->appends(Request::except(['_token']))->links() }}
@endsection @section('script') @endsection