@section('page_css')
@include('owner.deletedwashreport.partials._action_buttons')
@if (Session::has('msg')) @endif
@if (isset($records) && !empty($records) && count($records)) @foreach ($records as $index => $singleData) @endforeach
Action Transaction ID Deleted By Client Name Client Phone Car Reg. No. Car Make Car Model Vehicle Color Body Type Car Wash Type Amount Discount Cleaners Date Washed In-Queue Time In Wash Bay Time Finishing Bay Time Completed Time Completed Date Time In Queue Time In Washbay Time In Finishing Bay Total Wash Time Total Time @Carwash Car Wash Status Payment Status Payment Type Card Amount Cash Amount Free Wash Used Loyalty Point Keys Collected Logged in User
@if(Auth::user()->is_admin == 1) @endif {{$singleData['wash_count']}} @if($singleData['deleted_by_user_id'] > 0) {{getUserFromIdInList($singleData['deleted_by_user_id'])}}
{{getUserEmailFromIdInList($singleData['deleted_by_user_id'])}} @else {{Auth::user()->name}}
{{Auth::user()->email}} @endif
@if($singleData['driver_name'] !='') {{$singleData['driver_name']}} @if($singleData['email'] != '')
{{$singleData['email']}} @endif @else {{$singleData['co_fname']}} {{$singleData['co_lname']}} @if($singleData['email'] != '')
{{$singleData['email']}} @endif @endif
@if($singleData['driver_phone'] != '') +{{$singleData['driver_isd_code']}}{{$singleData['driver_phone']}} @endif {{$singleData['car_registration_no']}} {{$singleData['make']}} {{$singleData['car_model']}} {{$singleData['vehicle_color']}} {{$singleData['body_type']}} {{ getWashTypes($singleData['id']) }}
@if($singleData['wash_type_id'] > 0) {{ getSingleWashTypeName($singleData['wash_type_id']) }}
@endif {{ getExtra($singleData['id']) }}
{{$singleData['symbol']}}{{$singleData['total_amount']}} {{$singleData['discount']}}% {{ getCleaners($singleData['id']) }} {{date("Y/m/d", strtotime($singleData['entry_date']))}} @if($singleData['created_at'] != '') {{date("H:i", strtotime($singleData['created_at']))}} @endif @if($singleData['wash_in'] != '') {{date("H:i", strtotime($singleData['wash_in']))}} @endif @if($singleData['wash_out'] != '') {{date("H:i", strtotime($singleData['wash_out']))}} @endif @if($singleData['time_washed'] != '') {{date("H:i", strtotime($singleData['time_washed']))}} @endif @if($singleData['date_washed'] != '') {{date("Y/m/d", strtotime($singleData['date_washed']))}} @endif @if($singleData['wash_in'] != '') {{getDateDiffBay($singleData['created_at'], $singleData['wash_in'])}} @else @endif @if($singleData['wash_in'] != '' && $singleData['wash_out'] != '') {{getDateDiffBay($singleData['wash_in'], $singleData['wash_out'])}} @else @endif @if($singleData['wash_out'] != '' && $singleData['time_washed'] != '') {{getDateDiffNew($singleData['wash_out'], $singleData['date_washed'], $singleData['time_washed'])}} @else @endif @if($singleData['wash_in'] != '' && $singleData['time_washed'] != '') {{getDateDiffNew($singleData['wash_in'], $singleData['date_washed'], $singleData['time_washed'])}} @else @endif @if($singleData['time_washed'] != '') {{getDateDiffNew($singleData['created_at'], $singleData['date_washed'], $singleData['time_washed'])}} @else @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 @if($singleData['status'] == 5) Keys Collected @endif @if($singleData['payment_status'] == 1) Paid @else Not Paid @endif {{$singleData['payment_details']}} {{$singleData['symbol']}}{{$singleData['card_amount']}} {{$singleData['symbol']}}{{$singleData['cash_amount']}} @if($singleData['is_free_wash'] == 1 ) Yes @else No @endif {{$singleData['used_loyalty_point']}}({{$singleData['symbol']}}{{$singleData['used_loyalty_to_zar']}}) @if($singleData['keys_collected'] != '') {{date("Y-m-d H:i", strtotime($singleData['keys_collected']))}} @endif @if($singleData['cwo_user_id'] > 0) {{getUserFromIdInList($singleData['cwo_user_id'])}}
{{getUserEmailFromIdInList($singleData['cwo_user_id'])}} @else {{Auth::user()->name}}
{{Auth::user()->email}} @endif
@endif
@if (isset($records) && count($records)) {{ $records->appends($_GET)->links('pagination::bootstrap-4') }} @endif
@section('page_scripts') {{-- --}} @endsection