{{ __('application.report.parking_report') }}

{{ __('application.report.summary_pdf_date') }}: {{ __('application.report.summary_pdf_date_from') }} {{ $request['from_date'] != null ? $request['from_date'] : 'ALL' }} {{ __('application.report.summary_pdf_date_to') }} {{ $request['to_date'] != null ? $request['to_date'] : 'ALL' }}

@if ($request['place_id'] != 'all')
{{ __('application.report.place') }}: {{ $places->where('id', $request['place_id'])->first()->name }}
@endif @if (isset($request['floor_id']) && $request['floor_id'] != NULL)
{{ __('application.report.floor') }}: {{ $floors->where('id', $request['floor_id'])->first()->name }}
@endif @if (isset($request['category_id']) && $request['category_id'] != NULL)
{{ __('application.report.brand') }}: {{ $categories->where('id', $request['category_id'])->first()->type }}
@endif

@foreach ($parkings as $parking) @php $total += $parking->amount; $totalPaid += $parking->paid; @endphp @endforeach
{{ __('application.report.serial') }} {{ __('application.report.place') }} {{ __('application.report.vehicle_no') }} {{ __('application.report.type') }} {{ __('application.report.floor') }} {{ __('application.report.slot') }} {{ __('application.report.exit_floor') }} {{ __('application.report.in_time') }} {{ __('application.report.out_time') }} {{ __('application.report.amount') }} ({{ __('application.report.currency') }}) {{ __('application.report.paid') }} ({{ __('application.report.currency') }})
{{ $i++ }} {{ $parking->place->name }} {{ $parking->vehicle_no }} {{ $parking->category->type }} {{ $parking->slot->floor->name ?? '' }} {{ $parking->slot->slot_name ?? '' }} {{ $parking->exit_floor->name ?? '' }} {{ appDate($parking->in_time) }} {{ $parking->out_time != null ? appDate($parking->out_time) : $parking->out_time }} {{ round($parking->amount, 2) }} /= {{ $parking->paid }} /=
{{ __('application.report.total') }} = {{ $total }} /= {{ $totalPaid }} /=