@section('page_css')
@include('pre_book.partials._action_buttons')
@if (Session::has('msg')) @endif
@if(isset($records) && !empty($records) && count($records)) @foreach($records as $index =>$singleData) @endforeach
Action Sl No. CWO Name Client Name Client Phone Address Car Reg. No. Car Make Car Model Vehicle Color Body Type Car Wash Type Amount Discount Free Wash Used Loyalty Point Date Time Status Action
@if($singleData['status'] == 6) @endif
{{$index + $records->firstItem()}}
{{$singleData['cwo_company']}} {{$singleData['name']}} +{{$singleData['isd_code']}}{{$singleData['phone_no']}} {{$singleData['address']}} {{$singleData['car_registration_no']}} {{$singleData['make']}} {{$singleData['car_model']}} {{$singleData['vehicle_color']}} {{$singleData['body_type']}} {{getWashTypesOfPreBooking($singleData['id'])}}
{{ getExtraOfPreBooking($singleData['id']) }}
{{$singleData['symbol']}}{{$singleData['total_amount']}} {{$singleData['discount']}}% @if($singleData['is_free_wash'] == 1 ) Yes @else No @endif {{$singleData['used_loyalty_point']}}({{$singleData['symbol']}}{{$singleData['used_loyalty_to_zar']}}) @if($singleData['date'] != '') {{date("Y/m/d", strtotime($singleData['date']))}} @endif @if($singleData['time'] != '') {{date("H:i", strtotime($singleData['time']))}} @endif @if($singleData['status'] == 0) In-Queue @endif @if($singleData['status'] == 1) In Wash Bay @endif @if($singleData['status'] == 2) Finishing Bay @endif @if($singleData['status'] == 3) Car Wash Completed @endif @if($singleData['status'] == 4) Wash Cancelled @endif @if($singleData['status'] == 5) Keys Collected @endif @if($singleData['status'] == 6) Pending @endif @if($singleData['status'] == 7) Confirmed @endif @if($singleData['status'] == 8) Declined @endif
@endif
@if(isset($records) && count($records)) {{ $records->appends($_GET)->links('pagination::bootstrap-4') }} @endif
@section('page_scripts') {{-- --}} @endsection