@extends('layouts.main') @push('styles') @endpush @section('content')
| {{ __('pharmacy.date') }} | {{ __('pharmacy.patient_number') }} | {{ __('pharmacy.patient_name') }} | {{ __('pharmacy.patient_category') }} | {{ __('pharmacy.payment') }} | {{ __('pharmacy.amount') }} | {{ __('pharmacy.ward') }} | {{ __('pharmacy.prescribed_by') }} | {{ __('pharmacy.actions') }} |
|---|---|---|---|---|---|---|---|---|
| {{ streamline_date_time_short($prescription->created_at) }} | {{ get_name($prescription->patient_id, 'id', 'number', 'patients') }} | {!! insurance_flag($prescription->patient_id) !!} | {{ isset($categories[get_name($prescription->patient_id, 'id', 'category_id', 'patients')]) ? $categories[get_name($prescription->patient_id, 'id', 'category_id', 'patients')] : "" }} | {!! $prescription->payment_status == 1 ? "" : "" !!} | {{ ugandan_shillings($grand_total_for_treatment) }} | @if($prescription->tta == 1) {{ get_ward_name($prescription->patient_id, $prescription->episode_id) }} @else @endif | {{ get_full_name($prescription->created_by, 'id', 'first_name', 'last_name', 'users') }} | @php $episode = \Streamline\Models\PatientEpisode::where('id', $prescription->episode_id)->pluck('paid_over')->first(); @endphp
@if($prescription->payment_status == 1)
|
| {{ __('pharmacy.no_incoming_prescriptions') }} | ||||||||
| {{ __('pharmacy.date') }} | {{ __('pharmacy.patient_number') }} | {{ __('pharmacy.patient_name') }} | {{ __('pharmacy.patient_category') }} | {{ __('pharmacy.payment') }} | {{ __('pharmacy.amount') }} | {{ __('pharmacy.ward') }} | {{ __('pharmacy.prescribed_by') }} | {{ __('pharmacy.actions') }} |
|---|---|---|---|---|---|---|---|---|
| {{ streamline_date_time_short($prescription->created_at) }} | {{ get_name($prescription->patient_id, 'id', 'number', 'patients') }} | {!! insurance_flag($prescription->patient_id) !!} | {{ isset($categories[get_name($prescription->patient_id, 'id', 'category_id', 'patients')]) ? $categories[get_name($prescription->patient_id, 'id', 'category_id', 'patients')] : "" }} | {!! ($prescription->inpatient_bill_generated == 1) ? "" : "" !!} | {{ ugandan_shillings($grand_total_for_treatment) }} | @if($prescription->tta == 1) {{ get_ward_name($prescription->patient_id, $prescription->episode_id) }} @else @endif | {{ get_full_name($prescription->created_by, 'id', 'first_name', 'last_name', 'users') }} | @if(is_dispense_unpaid_prescription_enabled($prescription->patient_id)) @else @if($prescription->payment_status == 1 || $prescription->inpatient_bill_generated == 1) @else @endif @endif |
| {{ __('pharmacy.no_incoming_prescriptions') }} | ||||||||
| {{ __('pharmacy.date') }} | {{ __('pharmacy.patient_number') }} | {{ __('pharmacy.patient_name') }} | {{ __('pharmacy.patient_category') }} | {{ __('pharmacy.payment') }} | {{ __('pharmacy.amount') }} | {{ __('pharmacy.ward') }} | {{ __('pharmacy.prescribed_by') }} | {{ __('pharmacy.actions') }} |
|---|---|---|---|---|---|---|---|---|
| {{ streamline_date_time_short($prescription->created_at) }} | {{ get_name($prescription->patient_id, 'id', 'number', 'patients') }} | {!! insurance_flag($prescription->patient_id) !!} | {{ isset($categories[get_name($prescription->patient_id, 'id', 'category_id', 'patients')]) ? $categories[get_name($prescription->patient_id, 'id', 'category_id', 'patients')] : "" }} | {!! $prescription->payment_status == 1 ? "" : "" !!} | {{ ugandan_shillings($grand_total_for_treatment) }} | @if($prescription->tta == 1) {{ get_ward_name($prescription->patient_id, $prescription->episode_id) }} @else @endif | {{ get_full_name($prescription->created_by, 'id', 'first_name', 'last_name', 'users') }} | |
| {{ __('pharmacy.no_incoming_prescriptions') }} | ||||||||
| {{ __('pharmacy.date') }} | {{ __('pharmacy.patient_number') }} | {{ __('pharmacy.patient_name') }} | {{ __('pharmacy.patient_category') }} | {{ __('pharmacy.payment') }} | {{ __('pharmacy.amount') }} | {{ __('pharmacy.ward') }} | {{ __('pharmacy.prescribed_by') }} | {{ __('pharmacy.actions') }} |
|---|---|---|---|---|---|---|---|---|
| {{ streamline_date_time_short($prescription->created_at) }} | {{ get_name($prescription->patient_id, 'id', 'number', 'patients') }} | {!! insurance_flag($prescription->patient_id) !!} | {{ isset($categories[get_name($prescription->patient_id, 'id', 'category_id', 'patients')]) ? $categories[get_name($prescription->patient_id, 'id', 'category_id', 'patients')] : "" }} | {!! $prescription->payment_status == 1 ? "" : "" !!} | {{ ugandan_shillings($grand_total_for_treatment) }} | @if($prescription->tta == 1) {{ get_ward_name($prescription->patient_id, $prescription->episode_id) }} @else @endif | {{ get_full_name($prescription->created_by, 'id', 'first_name', 'last_name', 'users') }} | |
| {{ __('pharmacy.no_incoming_prescriptions') }} | ||||||||