@extends('layouts.master') @section('title') {{ __('sentence.View Prescription') }} @endsection @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('success'))
{{ session('success') }}
@endif
{!! clean(App\Setting::get_option('header_left')) !!}

Alger, {{ __('sentence.On') }} {{ $prescription->created_at->format('d-m-Y') }}


{{ __('sentence.Patient Name') }} : {{ $prescription->User->name }} @isset($prescription->User->Patient->birthday) - {{ __('sentence.Age') }} : {{ $prescription->User->Patient->birthday }} ({{ \Carbon\Carbon::parse($prescription->User->Patient->birthday)->age }} Years) @endisset @isset($prescription->User->Patient->gender) - {{ __('sentence.Gender') }} : {{ __('sentence.'.$prescription->User->Patient->gender) }} @endisset @isset($prescription->User->Patient->weight) - {{ __('sentence.Patient Weight') }} : {{ $prescription->User->Patient->weight }} Kg @endisset @isset($prescription->User->Patient->height) - {{ __('sentence.Patient Height') }} : {{ $prescription->User->Patient->height }} @endisset


@forelse ($prescription_drugs as $drug)
  • {{ $drug->type }} - {{ $drug->Drug->trade_name }} {{ $drug->strength }} - {{ $drug->dose }} - {{ $drug->duration }}
    {{ $drug->drug_advice }}
  • @empty @endforelse
    {{ __('sentence.Test to do') }}

    @forelse ($prescription_tests as $test)
  • {{ $test->Test->test_name }} @empty(!$test->description) - {{ $test->description }} @endempty
  • @empty

    {{ __('sentence.No Test Required') }}

    @endforelse

    {!! clean(App\Setting::get_option('footer_left')) !!}

    {!! clean(App\Setting::get_option('footer_right')) !!}

    @endsection @section('footer') @endsection