@extends('admin::layouts.app')
@section('content')
{{ __('admin.recent_received_bookings') }}
@forelse($orders as $key => $order)
#
{{ __('admin.booking_no') }}
{{ __('admin.branch_name') }}
{{ __('admin.customer_details') }}
{{ __('admin.time_slot') }}
{{ __('admin.service') }}
{{ __('admin.type') }}
{{ __('admin.amount') }}
{{ __('admin.address') }}
{{ __('admin.status') }}
{{ __('admin.action') }}
@empty
{{ $key + 1 }}
{{ $order->order_no }}
{{ @$order->branch->name_en }}
{{ isset($order->user->name) ? $order->user->name : '' }}
{{ isset($order->user->mobileCode->dial_code) ? $order->user->mobileCode->dial_code : '' }}
{{ isset($order->user->mobile_number) ? $order->user->mobile_number : '' }}
{{ isset($order->date) ? Modules\Admin\Helpers\GeneralHelper::dateFormat($order->date) : '-' }}
{{ date('h:i A', strtotime($order->start_time)) }}
to {{ date('h:i A', strtotime($order->end_time)) }}
@forelse ($order->services as $service)
{{ isset($service->name_en) ? ucfirst($service->name_en) : '' }}
@empty
NA
@endforelse
{{ !empty($order->serviceType->service_en) ? $order->serviceType->service_en : '' }}
{{ 'EGP ' . $order->payable_amount }}
{{ $order->address }}
{{ __( 'static.'.$order->status) }}
@endforelse