@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('finance-read'))
{{--
--}}
{{--@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('masterdata-create')) @endif--}}
@if(sizeof($datatables)>0) @foreach($datatables as $tabledata) @if($tabledata->getPatientAppointment != null) @else @endif @endforeach @else @endif
Actions DATE & TIME INVOICE NO SUBTOTAL AMT DISC AMT NET AMT Patient ID Session Details Patient Name Phone No
@if($tabledata['status']=='0') Cancelled @else @if($tabledata->getPatientAppointment != null && sizeof($tabledata->getPatientAppointment->getBillInfo)>0) Print @else @if($tabledata->status == 0) Cancelled @else No session found @endif {{-- Generate--}} @endif @endif {{-- --}} {{-- --}} {{\Carbon\Carbon::parse($tabledata['created_at'])->format('d-M-Y h:i A')}} {{$tabledata['invoice_no']}} {{$tabledata['subtotal_amount']}} {{$tabledata['discount_amount']}} {{$tabledata['total_net_amount']}} {{$tabledata['getPatientInfo']['patient_id']}}{{$tabledata->getPatientAppointment->getSession->session_name}}
{{\Carbon\Carbon::parse($tabledata->getPatientAppointment->getSession->session_date)->format('d-M-Y')}} {{--( {{\Carbon\Carbon::parse($tabledata->getPatientAppointment->getSession->session_start_time)->format('H:i A')}} - {{\Carbon\Carbon::parse($tabledata->getPatientAppointment->getSession->session_end_time)->format('H:i A')}} )--}}
{{$tabledata->getPatientAppointment->patient_name}} {{$tabledata->getPatientAppointment->phone_no}}N/A {{$tabledata->getPatientInfo->patient_name}} {{$tabledata->getPatientInfo->phone_no}}

No Data Available

{{$datatables->links('livewire.pagination-livewire')}}
@else

Sorry !!! Unauthorized Access

@endif @section('externaljs') @endsection