@section('page_css')
@if (Session::has('msg')) @endif
@if(isset($records) && !empty($records) && count($records)) @foreach($records as $index =>$singleData) @endforeach
Sl No. Loyalty Name Loyalty Type No. of Paid Wash No. of Free Wash Start Date End Date CWO Company
{{$index + $records->firstItem()}} {{$singleData['loyalty_name']}} @if($singleData['loyalty_type'] == 1) Free Wash @elseif($singleData['loyalty_type'] == 2) Price Discount @else Loyalty Points @endif {{$singleData['no_of_paid_wash']}} {{$singleData['no_of_free_wash']}} @if($singleData['start_date'] != '') {{ date('Y/m/d', strtotime($singleData['start_date'])) }} @endif @if($singleData['end_date'] != '') {{ date('Y/m/d', strtotime($singleData['end_date'])) }} @endif {{$singleData['cwoDetail']['cwo_company']}}
@endif
@if(isset($records) && count($records)) {{ $records->appends($_GET)->links('pagination::bootstrap-4') }} @endif
@section('page_scripts') {{-- --}} @endsection