@push('scripts') @endpush
@if (is_patient_accounts_enabled()) @endif @php $dob = new Carbon\Carbon($patient->date_of_birth) @endphp @if (is_patient_accounts_enabled()) @endif
{{ __('layout.patient_number') }} {{ __('layout.patient_names') }} {{ __('layout.gender') }} {{ __('layout.age') }} {{ __('layout.patient_category') }}{{ __('layout.patient_finance_account') }}
{{ $patient->number }} {!! insurance_flag($patient->id) !!} {{ $patient->gender == 1 ? __('layout.male') : __('layout.female') }} {{ $dob->diffInYears(Carbon\Carbon::now()) }} (yrs) {{ $categories[$patient->category_id] ?? 'N/A' }} {{ ugandan_shillings($patient->patient_account_balance) }} {{ __('layout.more_details') }}

@if (Auth::user()->can('pay-all-patient-bills'))
@endif
@php $dob = new Carbon\Carbon($patient->date_of_birth); @endphp