@extends('layouts.master') @section('content')

Dashboard Welcome to WBI

Track Application

@csrf
Just now

Discharge.

11:30

Routine Checkup

10:30

Operation

3 days ago

Routine Checkup

Thu, 10 Mar

Routine Checkup

Sat, 5 Mar

Routine Checkup

Sun, 11 Feb

Blood checkup test

Thu, 17 Jan

Admit patient ward no. 21

@if(isset($wbiMaster) && !empty($wbiMaster)) @if($wbiMaster->wbiMasterApplicationLog->count()) User Application History:
@foreach($wbiMaster->wbiMasterApplicationLog as $key => $value) Status: {{ $value->status->name }}
TimeStamp: {{ $value->created_at ? $value->created_at->format('d-m-Y h:i:s') : "" }}
@endforeach @endif @if($wbiMaster->adminWbiFormApprovalAll->count()) Official Application History:
@foreach($wbiMaster->adminWbiFormApprovalAll as $key => $value) User Name: {{ $value->user->name }}
User Role: {{ $value->user->role->name }}
Status: {{ $value->wbiMaster->applicationStatus->name }}
Remark: {{ $value->remarks }}
TimeStamp: {{ $value->created_at ? $value->created_at->format('d-m-Y h:i:s') : "" }}
@endforeach @endif @endif @if(isset($secondaryWbiMaster) && !empty($secondaryWbiMaster)) @if($secondaryWbiMaster->secondaryWbiMasterApplicationLog->count()) User Application History:
@foreach($secondaryWbiMaster->secondaryWbiMasterApplicationLog as $key => $value) Status: {{ $value->status->name }}
TimeStamp: {{ $value->created_at ? $value->created_at->format('d-m-Y h:i:s') : "" }}
@endforeach @endif @if($secondaryWbiMaster->adminSecondaryWbiApprovalAll->count()) Official Application History:
@foreach($secondaryWbiMaster->adminSecondaryWbiApprovalAll as $key => $value) User Name: {{ $value->user->name }}
User Role: {{ $value->user->role->name }}
Status: {{ $value->secondaryWbiMaster->applicationStatus->name }}
Remark: {{ $value->remarks }}
TimeStamp: {{ $value->created_at ? $value->created_at->format('d-m-Y h:i:s') : "" }}
@endforeach @endif @endif @if(isset($secondaryAgarwoodWbiMaster) && !empty($secondaryAgarwoodWbiMaster)) @if($secondaryAgarwoodWbiMaster->SecondaryAgarwoodWbiMasterApplicationLog->count()) User Application History:
@foreach($secondaryAgarwoodWbiMaster->SecondaryAgarwoodWbiMasterApplicationLog as $key => $value) Status: {{ $value->status->name }}
TimeStamp: {{ $value->created_at ? $value->created_at->format('d-m-Y h:i:s') : "" }}
@endforeach @endif @if($secondaryAgarwoodWbiMaster->adminSecondaryAgarwoodWbiFormApprovalAll->count()) Official Application History:
@foreach($secondaryAgarwoodWbiMaster->adminSecondaryAgarwoodWbiFormApprovalAll as $key => $value) User Name: {{ $value->user->name }}
User Role: {{ $value->user->role->name }}
Status: {{ $value->secondaryAgarwoodWbiMaster->applicationStatus->name }}
Remark: {{ $value->remarks }}
TimeStamp: {{ $value->created_at ? $value->created_at->format('d-m-Y h:i:s') : "" }}
@endforeach @endif @endif
@include('layouts.footer')
@endsection