@extends('layouts.master') @section('title', $patient->first_name . ' ' . $patient->second_name) @section('css') @endsection @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @section('content')
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
Dashboard | Patient | {{ $patient->first_name }}

Patient

{{ $patient->first_name . ' ' . $patient->second_name }}

ID {{ $patient->id }}

BLOOD

{{ $patient->blood_type }}

HEIGHT

{{ $patient->height }}cm

WEIGHT

{{ $patient->weight }}kg
Heart Rate

120bpm

BL Pressure

70/120

Diseases
Lab results

17 Jun 2021

LR-Molar-3D XR.PDF
Panding

17 Jun 2021

Laps-3D.PDF

17 Jun 2021

Ts101 XR.PDF

17 Jun 2021

SK211-3D.PDF
Appointments Timeline
    @foreach ($appointments as $iteam) @if ($iteam->status == 0) @php $text_color = 'main-color'; $msg = 'Approved'; @endphp @elseif ($iteam->status == 1) @php $text_color = 'cancel-color'; $msg = 'Canceled'; @endphp @elseif ($iteam->status == 2) @php $text_color = 'arrived-color'; $msg = 'Arrived'; @endphp @elseif ($iteam->status == 3) @php $text_color = 'inprog-color'; $msg = 'With the doctor'; @endphp @elseif ($iteam->status == 4) @php $text_color = 'done-color'; $msg = 'Done'; @endphp @endif @break($loop->index === 3)
  • {{ date('h:i a', strtotime($iteam->start_at)) }}

    {{ date('d M Y', strtotime($iteam->start_at)) }}

    {{ $msg }}

    TYPE

    {{ $iteam->service_item->name }}

    DOCTOR

    @if (isset($iteam->doctor->first_name)) {{ $iteam->doctor->first_name }} @else Not selected @endif

    BRNACH

    {{ $iteam->branch->name }}
  • @endforeach
Payment

Transaction

Amount

@foreach ($treatment as $iteam) @break($loop->index === 3) @if ($iteam->status == 0) @php $text_color = 'cancel-color'; $msg = 'Not paid'; @endphp @elseif ($iteam->status == 1) @php $text_color = 'main-color'; $msg = 'Paid'; @endphp @endif

{{ $iteam->service_item->name }}

{{ $msg }}

{{ $iteam->final_price }} EGP
@endforeach
@endsection @section('js') @endsection