@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('finance-read'))
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']}} | @if($tabledata->getPatientAppointment != null){{$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}} | @elseN/A | {{$tabledata->getPatientInfo->patient_name}} | {{$tabledata->getPatientInfo->phone_no}} | @endif
No Data Available |