{{ Session::get('msg') }}
@if (isset($records) && !empty($records) && count($records))
@endif
| Action | Transaction ID | Client Name | Client Phone | # of Times Washed Here | 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 | Payment 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 | Action |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@if(Auth::user()->is_admin == 1)
@endif
@php
$getWashImages = getWashImages($singleData['id']);
$imgCount = 0;
$array = [];
@endphp
@if(count($getWashImages) > 0)
@foreach ($getWashImages as $img)
@php
$imgCount++;
if($img['type'] == 0){
$type = 'Vehicle arrival image';
}
if($img['type'] == 3){
$type = 'Wash completion image';
}
array_push($array, asset('images/washimages/'.$img['image']));
@endphp
@endforeach
@php
//echo "";print_r($array);
$quoted = implode(", ", array_map(function($item) {
return "'" . $item . "'";
}, $array));
//echo $quoted;
@endphp
Show Gallery
@else
Show Gallery
@endif
|
{{$singleData['wash_count']}}
|
@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 | {{noOfTimesWashed(Auth::user()->cwo_id, $singleData['driver_phone'])}} | {{$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['date_washed'] != '') {{date("Y/m/d", strtotime($singleData['payment_date']))}} @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 |
@if(Auth::user()->is_admin == 1) @endif |
@if (isset($records) && count($records))
{{ $records->appends($_GET)->links('pagination::bootstrap-4') }}
@endif