@section('page_css')
@include('otherservicesreport.partials._action_buttons')
@if (Session::has('msg')) @endif
Delete @if (isset($records) && !empty($records) && count($records)) @foreach ($records as $index => $singleData) @endforeach
Action Sl # CWO Name Client Name Client Phone Products/Services Amount Date Time Payment Status Payment Type Card Amount Cash Amount Used Loyalty Point Action
{{$index + $records->firstItem()}}
{{$singleData['cwo_company']}} @if($singleData['name'] =='null') Annonymous @elseif($singleData['name'] =='') Annonymous @else {{$singleData['name']}} @endif @if($singleData['email'] == 'null') @elseif($singleData['email'] == '') @else
{{$singleData['email']}} @endif
@if($singleData['phone'] == 'null') @elseif($singleData['phone'] == '') @else +{{$singleData['isd_code']}}{{$singleData['phone']}} @endif @php $getOtherServicesArray = getOtherServicesArray($singleData['id']); @endphp @if($getOtherServicesArray != '') @foreach ($getOtherServicesArray as $index => $s) @endforeach @endif
Services Unit Price(R) Quantity Total Amount(R) Quantity In-Stock
{{$s->description}} {{$s->price}} {{$s->quantity}} {{$s->total_price}} {{$s->quantity_in_stock}}
{{$singleData['symbol']}}{{$singleData['total_amount']}} @if($singleData['date'] != '') {{date("Y/m/d", strtotime($singleData['date']))}} @endif @if($singleData['time'] != '') {{date("H:i", strtotime($singleData['time']))}} @endif @if($singleData['payment_status'] == 1) Paid @else Not Paid @endif {{$singleData['payment_details']}} {{$singleData['symbol']}}{{$singleData['card_amount']}} {{$singleData['symbol']}}{{$singleData['cash_amount']}} {{$singleData['used_loyalty_point']}}
@endif
@if (isset($records) && count($records)) {{ $records->appends($_GET)->links('pagination::bootstrap-4') }} @endif
@section('page_scripts') {{-- --}} @endsection