@section('page_css')
@include('billing.partials._action_buttons')
@if (Session::has('msg')) @endif
@if(isset($records) && !empty($records) && count($records)) @foreach($records as $index =>$singleData) @endforeach
Action Invoice No CWO Name Contact Number Email Address Signed Up Date Subscription Package WhatsApp Settings Payment Status Subscription Amount WhatsApp Charges Total Amount Bill Date Due Date Action
{{$singleData->invoice_no}} {{$singleData->cwo_company}} @if($singleData->cwo_phone != '') +{{$singleData->cwo_isd}}{{$singleData->cwo_phone}} @endif {{$singleData->cwo_email}} {{date("d-m-Y", strtotime($singleData->created_at))}} @if($singleData->type == 1) Monthly @endif @if($singleData->type == 2) Yearly @endif @if($singleData->type == 3) Quarterly @endif @if($singleData->type == 0) @if($singleData->cwo_subscription_id == 0) Custom @else {{getCwoSubscription($singleData->cwo_subscription_id)}} @endif @endif {{getWhatsAppSettings($singleData->cwo_id)}} @if($singleData->is_paid == 1) Paid @else @if($singleData->is_subscription_paid == 1) Subscription Paid
@endif @if($singleData->is_subscription_paid == 0) Subscription Not Paid
@endif @if($singleData->is_whatsapp_paid == 1) WhatsApp Paid
@endif @if($singleData->is_whatsapp_paid == 0) WhatsApp Not Paid @endif @endif
R{{$singleData->amount}} R{{$singleData->whatsapp_amount}} R{{$singleData->total_amount}} @if($singleData->bill_date != '') {{date("Y/m/d", strtotime($singleData->bill_date))}} @endif @if($singleData->due_date != '') {{date("Y/m/d", strtotime($singleData->due_date))}} @endif @if($singleData->is_paid == 0) Paid Offline @endif
@endif
@if(isset($records) && count($records)) {{ $records->appends($_GET)->links('pagination::bootstrap-4') }} @endif
@section('page_scripts') {{-- --}} @endsection