@auth @role('ltc')

Assigned Patient Doses

@php $user = Auth::user()->uuids; $mdID = \App\Models\ClinicStaff::where(['user_id' => $user])->select('clinic_id')->firstOrFail()->toArray(); @endphp @if($dossageData) @foreach ($dossageData as $key => $Dataitems ) @if($Dataitems['clinic_id'] == $mdID['clinic_id']) @endif @endforeach @endif
Patient no. Phase Medicine Start End Per Day Days Status
{{ $Dataitems['patient_number'] }} @php $phase = getDozePhaseByPatient($Dataitems['patient_id']); @endphp @foreach ($phase as $items) @endforeach
{{ $items['phase_name'] }}
@php $dozeList = getDosageListByPatient($Dataitems['patient_id']); @endphp @foreach ($dozeList as $items) @endforeach
{{ $items['medicine_name'] }}
@foreach ($dozeList as $items) @endforeach
{{ $items['start'] }}
@foreach ($dozeList as $items) @endforeach
{{ \Carbon\Carbon::parse($items['end'])->format('d-m-Y') }}
@foreach ($dozeList as $items) @endforeach
{{ $items['total_med_per_day'] }}
@foreach ($dozeList as $items) @endforeach
{{ $items['total_days'] }}
@if($phase) @foreach ($phase as $items) @if($items['status'] == false) @elseif($items['status'] == true) @endif @endforeach @endif
Is completed? {{ __('completed!') }}
@endrole @role('po')

Assigned Patient Doses

@php $user = Auth::user()->uuids; $mdID = \App\Models\ClinicStaff::where(['user_id' => $user])->select('clinic_id')->firstOrFail()->toArray(); @endphp @if($dossageData) @foreach ($dossageData as $key => $Dataitems ) @if($Dataitems['clinic_id'] == $mdID['clinic_id']) @endif @endforeach @endif
Patient no. Phase Medicine Name Start End Per Day Total Days Status
{{ $Dataitems['patient_number'] }} @php $phase = getDozePhaseByPatient($Dataitems['patient_id']); @endphp @foreach ($phase as $items) @endforeach
{{ $items['phase_name'] }}
@php $dozeList = getDosageListByPatient($Dataitems['patient_id']); @endphp @foreach ($dozeList as $items) @endforeach
{{ $items['medicine_name'] }}
@foreach ($dozeList as $items) @endforeach
{{ $items['start'] }}
@foreach ($dozeList as $items) @endforeach
{{ $items['end'] }}
@foreach ($dozeList as $items) @endforeach
{{ $items['total_med_per_day'] }}
@foreach ($dozeList as $items) @endforeach
{{ $items['total_days'] }}
{{ __('Medicine given!') }}
@endrole @endauth