@extends('layouts.app') @section('content')
@include('inc.breadcrumb' , ['breadcrumb_items'=>[ __('messages.Home')=>"active", ]])
@if (date('a') == 'am') @if (app()->getLocale() == "ar") صباح الخير يا {{ auth()->user()->name }} @else Good morning, {{ auth()->user()->name }} @endif @else @if (app()->getLocale() == "ar") مساء الخير يا {{ auth()->user()->name }} @else Good evening, {{ auth()->user()->name }} @endif @endif 😍

{{ __("messages.Statistics for the year") }} {{ request('year_chart') ? request('year_chart') : date('Y') }}

{{ __("messages.shows available at the moment") }}
@php $i = 1; $skipCount = $data->perPage() * $data->currentPage() - $data->perPage(); @endphp @include('inc.is_empty_data', [ 'var_check_empty' => $data, 'var_check_empty_rows' => 5, ]) @foreach ($data as $item) @php $i++ @endphp @endforeach
# {{ __('messages.Show') }} {{ __('messages.Hall') }} {{ __('messages.Show Date') }} {{ __('messages.Number of bookings') }} {{ __('messages.Total') }}
{{ $skipCount + $i }}{{ $item->show->name }} {{ $item->show->hall->name }} {{ \Carbon\Carbon::parse($item->date_time)->format('Y-m-d h:i A') }} {{ $item->bookings->sum('booking_seats_count') }} {{ __('messages.From') }} {{ $item->show->hall->seats_count }} {{ $item->bookings->sum('price_seats') }} جنيها
{{ $data->appends(Request::except(['_token']))->links() }}
@endsection @section('script') @endsection