{{ Session::get('msg') }}
@if (isset($records) && !empty($records) && count($records))
@endif
| Transaction ID | Client Name | Client Phone | Car Reg. No. | # of Times Washed Here | # of Times to Free Wash | Body Type | Car Wash Type | Date Washed | Loyalty Type | Discount(%) | Used Loyalty Point | Remaining Loyalty Point | Logged in User |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$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 | {{$singleData['car_registration_no']}} | {{noOfTimesWashed(Auth::user()->cwo_id, $singleData['driver_phone'])}} | {{noOfTimesToFreeWash(Auth::user()->cwo_id, $singleData['driver_phone'], $singleData['id'])}} | {{$singleData['body_type']}} |
{{ getWashTypes($singleData['id']) }} @if($singleData['wash_type_id'] > 0) {{ getSingleWashTypeName($singleData['wash_type_id']) }} @endif {{ getExtra($singleData['id']) }} |
@if($singleData['date_washed'] != '') {{date("Y/m/d", strtotime($singleData['date_washed']))}} @endif | @if($singleData['loyalty_type'] == 1) Free Wash @endif @if($singleData['loyalty_type'] == 2) Discount @endif @if($singleData['loyalty_type'] == 3) Loyalty Points @endif | {{$singleData['discount']}} | {{$singleData['used_loyalty_point']}} | {{$singleData['remaining_loyalty_point']}} |
@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 (isset($records) && count($records))
{{ $records->appends($_GET)->links('pagination::bootstrap-4') }}
@endif