@foreach($patientAdmissions as $patientAdmission) @endforeach
{{ __('messages.common.no') }} {{ __('messages.case.patient') }} {{ __('messages.case.doctor') }} {{ __('messages.bill.admission_id') }} {{ __('messages.patient_admission.admission_date') }} {{ __('messages.patient_admission.discharge_date') }} {{ __('messages.patient_admission.package') }} {{ __('messages.patient_admission.insurance') }} {{ __('messages.patient_admission.bed') }} {{ __('messages.patient_admission.policy_no') }} {{ __('messages.patient_admission.agent_name') }} {{ __('messages.patient_admission.guardian_name') }} {{ __('messages.patient_admission.guardian_relation') }} {{ __('messages.patient_admission.guardian_contact') }} {{ __('messages.patient_admission.guardian_address') }} {{ __('messages.common.status') }}
{{ $loop->iteration }} {{ $patientAdmission->patient->user->full_name }} {{ $patientAdmission->doctor->user->full_name }} {{ $patientAdmission->patient_admission_id }} {{ !empty($patientAdmission->admission_date) ? date('jS M,Y g:i A', strtotime($patientAdmission->admission_date)) : __('messages.common.n/a') }} {{ !empty($patientAdmission->discharge_date) ? date('jS M,Y g:i A', strtotime($patientAdmission->discharge_date)) : __('messages.common.n/a') }} {{ (!empty($patientAdmission->package_id)) ? $patientAdmission->package->name : __('messages.common.n/a') }} {{ (!empty($patientAdmission->insurance_id)) ? $patientAdmission->insurance->name : __('messages.common.n/a') }} {{ (!empty($patientAdmission->bed_id)) ? $patientAdmission->bed->name : __('messages.common.n/a') }} {{ (!empty($patientAdmission->policy_no)) ? $patientAdmission->policy_no : __('messages.common.n/a') }} {{ (!empty($patientAdmission->agent_name)) ? $patientAdmission->agent_name : __('messages.common.n/a') }} {{ (!empty($patientAdmission->guardian_name)) ? $patientAdmission->guardian_name : __('messages.common.n/a') }} {{ (!empty($patientAdmission->guardian_relation)) ? $patientAdmission->guardian_relation : __('messages.common.n/a') }} {{ (!empty($patientAdmission->guardian_contact)) ? $patientAdmission->guardian_contact : __('messages.common.n/a') }} {{ (!empty($patientAdmission->guardian_address)) ? $patientAdmission->guardian_address : __('messages.common.n/a') }} {{ ($patientAdmission->status === 1) ? __('messages.common.active') : __('messages.common.de_active') }}