@extends('layouts.app') @section('title', 'Detail Jadwal') @section('content')

Detail Jadwal

Informasi lengkap jadwal treatment

Kembali

{{ $schedule->patient_name }}

{{ $schedule->patient_domicile }}

{{ $schedule->start_date->format('d/m/Y') }} - {{ $schedule->start_time }}

{{ $schedule->therapist->name }}

{{ ucfirst($schedule->treatment_type) }}

{{ $schedule->treatment->name }}

@if($schedule->day_label)

{{ $schedule->day_label }}

@endif
@if($schedule->addons->count() > 0)

Add-on Treatment

@foreach($schedule->addons as $addon)

{{ $addon->treatment->name }}

{{ $addon->therapist->name }}

{{ $addon->start_date->format('d/m/Y') }}

{{ $addon->start_time }}

@endforeach
@endif @if(auth()->user()->isAdminOrSuperAdmin())

Create / Edited

Created by: {{ $schedule->creator->name ?? '-' }} {{ $schedule->created_at ? $schedule->created_at->format('d-m-Y H:i') : '' }}
@if($schedule->updated_at && $schedule->updated_at->ne($schedule->created_at))
Edited by: {{ optional($schedule->editor)->name ?? '-' }} {{ $schedule->updated_at->format('d-m-Y H:i') }}
@if(is_null($schedule->editor) && $schedule->updated_by)
Catatan: user editor tidak ditemukan
@endif @endif
@endif @if($schedule->reimbursements->count() > 0)

Reimburse

@foreach($schedule->reimbursements as $reimburse)

{{ $reimburse->description }}

Rp {{ number_format($reimburse->amount, 0, ',', '.') }}

Lihat Foto
@endforeach
@endif
@endsection