Kembali Edit
@if($appointment->user_response === 'rejected')
Pelajar Menolak Temu Janji

Sebab: {{ $appointment->user_rejection_reason ?? 'Tiada sebab diberikan' }}
Tarikh Respons: {{ $appointment->user_responded_at ? $appointment->user_responded_at->format('d/m/Y h:i A') : '-' }}

@elseif($appointment->user_response === 'accepted')
Pelajar Menerima Temu Janji

Tarikh Respons: {{ $appointment->user_responded_at ? $appointment->user_responded_at->format('d/m/Y h:i A') : '-' }}

@endif @if($appointment->reschedule_requested)
Permintaan Jadual Baharu

Tarikh Cadangan: {{ $appointment->requested_date->format('d/m/Y') }}
Masa Cadangan: {{ \Carbon\Carbon::parse($appointment->requested_time)->format('h:i A') }}
@if($appointment->reschedule_reason) Sebab: {{ $appointment->reschedule_reason }} @endif

@endif

Butiran Temu Janji

{{ $appointment->getStatusLabel() }} @if(isset($appointment->user_response)) {{ $appointment->getUserResponseLabel() }} @endif
Tarikh
{{ $appointment->appointment_date->format('d/m/Y') }} ({{ $appointment->appointment_date->translatedFormat('l') }})
Masa
{{ \Carbon\Carbon::parse($appointment->appointment_time)->format('h:i A') }}
Pelajar
{{ $appointment->student->fullname }}
{{ $appointment->student->ic_number }}
Kaunselor
{{ $appointment->admin->fullname }}
@if($appointment->location)
Lokasi
{{ $appointment->location }}
@endif @if($appointment->reason)
Sebab/Tujuan
{{ $appointment->reason }}
@endif @if($appointment->notes)
Catatan
{{ $appointment->notes }}
@endif
Dicipta Pada
{{ $appointment->created_at->format('d/m/Y h:i A') }}
@if($appointment->updated_at != $appointment->created_at)
Dikemaskini Pada
{{ $appointment->updated_at->format('d/m/Y h:i A') }}
@endif