@if(isset($display) && $display == 'admission')
Intent List
From Date
To Date
@if(isset($ipd_id->id)) New Intent @endif {{-- @if (!empty($data[0]->account_id) && isset($ipd_id->id)) Consolidated Bill @endif --}} @if(isset($sale_invoice) && (!empty($sale_invoice->patient_id)) && isset($ipd_id->id)) Item Wise Bill @endif {{-- @if(isset($count) && $count > 10 && isset($ipd_id->id)) --}} View All Intents {{-- @endif --}}

@endif {{----}} {{-- --}} {{----}} {{-- --}} @if(in_array('pathology-lab-billing-edit', $authRolePermissions)) @endif @if(auth()->user()->can('pathology-lab-billing-delete')) @endif @if(count($data)>0) @foreach($data as $key=> $list) {{----}} {{-- --}} {{-- --}} {{----}} {{-- --}} {{-- --}} @if(in_array('pathology-lab-billing-edit', $authRolePermissions)) @endif @if(auth()->user()->can('pathology-lab-billing-delete')) @endif @endforeach @else @endif
Sl No Invoice No. Date Patient Name Ref.By/Referral Voucher TypeAmount ReceivedDueBillReportReportDue StatusEditDelete
{{ $data->firstItem() + $key }} {{$list->getSaleInvoice->main_invoice_no}}
{{$list->invoice_batch_no ?? '' }}
{!! nl2br(e(formatedDateTime($list->created_at))) !!}
@if(isset($list->prepared_by))
By: {!! $list->prepared_by??'' !!}
@endif
{{$list->getSaleInvoice->getPatient->account_title->name ?? ''}} {{$list->getSaleInvoice->getPatient->name ?? ''}}
{{$list->getSaleInvoice->getPatient->account_contact->gender->name ?? ''}} {{ isset($list->getSaleInvoice->getPatient->account_contact->date_of_birth) && isset($list->getSaleInvoice->getPatient->account_contact->gender) ? ', ' : '' }} {{ isset($list->getSaleInvoice->getPatient->account_contact->date_of_birth) ? age($list->getSaleInvoice->getPatient->account_contact->date_of_birth) . ' years' : '' }}
{{$list->getSaleInvoice->getDoctor->account_title->name ?? ''}} {{$list->getSaleInvoice->getDoctor->name ?? ''}} {!! $list->voucherType->name??'' !!}{{ convertDecimelPoint($list->getSaleInvoice->billing_amount) ?? ''}} {{ convertDecimelPoint($list->getSaleInvoice->received_amount) ?? ''}}{{ convertDecimelPoint($list->due_amount) ?? ''}} {!! $list->due_amount > 0 ? 'Collect' : '' !!} {{$list->getSaleInvoice->enquiry_quality_name}} {!! isset($list->getSaleInvoice->getSaleInvoiceDetail) && isset($list->getSaleInvoice->getSaleInvoiceDetail->getSaleInvoiceSubDetails) && isset($list->getSaleInvoice->getSaleInvoiceDetail->getSaleInvoiceSubDetails->status) && $list->getSaleInvoice->getSaleInvoiceDetail->getSaleInvoiceSubDetails->status == 1 ? 'Ready' : 'Pending' !!}
No Data Found
@if(!isset($display) || $display != 'admission') @endif