@section('page_css')
@include('washreport.partials._action_buttons')
@if (Session::has('msg')) @endif
@if(isset($records) && !empty($records) && count($records)) @foreach($records as $index =>$singleData) @endforeach
Sl No. CWO Name Client Name / Email Client Phone Car Reg. No. Body Type Car Wash Type Amount Cleaners In Wash Bay Finishing Bay Bay Time Wash Date Time Car Wash Status Payment Type Duration Action
{{$index + $records->firstItem()}} {{$singleData['cwo_company']}} @if($singleData['driver_name'] !='') {{$singleData['driver_name']}} @else {{$singleData['co_fname']}} {{$singleData['co_lname']}} @endif
@if($singleData['driver_email'] != '') ({{ $singleData['driver_email']}}) @else ({{ $singleData['email']}}) @endif
@if($singleData['driver_phone'] != '') +{{$singleData['driver_isd_code']}}{{$singleData['driver_phone']}} @else @if($singleData['co_phone'] != '') +{{$singleData['isd_code']}}{{$singleData['co_phone']}} @endif @endif {{$singleData['car_registration_no']}} {{$singleData['body_type']}} {{ getWashTypes($singleData['id']) }}
@if($singleData['wash_type_id'] > 0) {{ getSingleWashTypeName($singleData['wash_type_id']) }}
@endif {{ getExtra($singleData['id']) }}
{{$singleData['total_amount']}} {{ getCleaners($singleData['id']) }} @if($singleData['wash_in'] != '') {{date("d-m-Y h:i a", strtotime($singleData['wash_in']))}} @endif @if($singleData['wash_out'] != '') {{date("d-m-Y h:i a", strtotime($singleData['wash_out']))}} @endif @if($singleData['wash_out'] != '') {{getDateDiffBay($singleData['wash_in'], $singleData['wash_out'])}} @endif @if($singleData['date_washed'] != '') {{date("d-m-Y", strtotime($singleData['date_washed']))}} @endif @if($singleData['time_washed'] != '') {{date("h:i a", strtotime($singleData['time_washed']))}} @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) Completed @endif @if($singleData['status'] == 4) Cancelled @endif {{$singleData['payment_details']}} @if( $singleData['payment_details'] == '' ) @if($singleData['payment_status'] == 1) Paid @else Not Paid @endif @endif @if($singleData['is_free_wash'] == 1 ) (One Free Wash) @endif {{getDateDiff($singleData['entry_date'], $singleData['entry_time'], $singleData['date_washed'], $singleData['time_washed'])}}
@endif
@if(isset($records) && count($records)) {{ $records->appends($_GET)->links('pagination::bootstrap-4') }} @endif
@section('page_scripts') {{-- --}} @endsection