@section('page_css')
@include('owner.loyaltyscoreusagelog.partials._action_buttons')
@if (Session::has('msg')) @endif
Delete @if (isset($records) && !empty($records) && count($records)) @foreach ($records as $index => $singleData) @endforeach
Sl No. Logged in User Client Name Client Phone Car Reg. No. Body Type Car Wash Type Points Available Used Loyalty Point Ramaining Loyalty Point Used Date
{{$index + $records->firstItem()}} @if($singleData['wash_id'] > 0) @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($singleData['other_service_report_id'] > 0) @if($singleData['other_services_cwo_user_id'] > 0) {{getUserFromIdInList($singleData['other_services_cwo_user_id'])}}
{{getUserEmailFromIdInList($singleData['other_services_cwo_user_id'])}} @else {{Auth::user()->name}}
{{Auth::user()->email}} @endif @endif @if($singleData['wash_id'] == 0 && $singleData['prebooking_id'] > 0) {{Auth::user()->name}}
{{Auth::user()->email}} @endif
@if($singleData['wash_id'] > 0) {{$singleData['driver_name']}} @endif @if($singleData['other_service_report_id'] > 0) {{$singleData['name']}} @endif @if($singleData['wash_id'] == 0 && $singleData['prebooking_id'] > 0) {{$singleData['prebookingname']}} @endif @if($singleData['phone'] != '') +{{$singleData['isd_code']}}{{$singleData['phone']}} @endif {{$singleData['car_registration_no']}} @if($singleData['wash_id'] == 0 && $singleData['prebooking_id'] > 0) {{getCarRegNo($singleData['prebookingcar_id'])}} @endif {{$singleData['body_type']}} @if($singleData['wash_id'] == 0 && $singleData['prebooking_id'] > 0) {{$singleData['prebookingbody_type']}} @endif {{ getWashTypes($singleData['wash_id']) }} @if($singleData['wash_id'] == 0 && $singleData['prebooking_id'] > 0) {{ getWashTypesOfPreBooking($singleData['prebooking_id']) }} @endif {{$singleData['available_total_loyalty_point']}} {{$singleData['used_loyalty_point']}} {{$singleData['remaining_loyalty_point']}} {{date("Y/m/d", strtotime($singleData['used_date']))}}
@endif
@if (isset($records) && count($records)) {{ $records->appends($_GET)->links('pagination::bootstrap-4') }} @endif
@section('page_scripts') {{-- --}} @endsection