@extends('layouts.app_booking') @section('title',__('new.late_services')) @section('content')
@component('components.filters', ['class' => 'card mt-5'])
{!! Form::select('location_id', $business_locations, $location_id, ['id'=>'location_filter','class'=>'form-control select2', 'style'=>'width:100%', 'placeholder'=>__('lang_v1.all')]); !!} {!! Form::label('location_filter', __('purchase.business_location') . ':') !!}
{!! Form::select('customer_id', $customers, $customer_id, ['id'=>'customer_filter','class'=>'form-control select2', 'style'=>'width:100%', 'placeholder'=>__('lang_v1.all')]); !!} {!! Form::label('customer_filter', __('contact.customer') . ':') !!}
@endcomponent @component('components.widget', ['class' => 'card mt-5'])
@forelse($services_by_staff as $staff => $services)
{{count($services)}}
👨‍💼 {{ $staff }} {{ \App\User::find($staff) ? \App\User::find($staff)->first_name . ' '. \App\User::find($staff)->last_name : ' '}} (متأخر)
@foreach($services as $srv)

🛎 الخدمة: {{ $srv->product_name }}
🚦 الحالة: {{ __('restaurant.'.$srv->booking_status )}}
👤 العميل: {{ $srv->customer_name }}
⏰ وقت البدء: {{ date('h:i A', strtotime($srv->start_time)) }}
⏳ وقت الانتهاء: {{ date('h:i A', strtotime($srv->end_time)) }}

@endforeach
@empty

🚫{{__('new.no_late_services')}}

@endforelse
@endcomponent
@endsection @section('javascript') @endsection