@php function convertToRegularDate($isoDateString) { $date = new DateTime($isoDateString); return $date->format('d-m-Y'); } function convertToRegularTime($isoDateString) { $date = new DateTime($isoDateString); return $date->format('H:i'); } @endphp
|
|||||||||||||||||||
|
|||||||||||||||||||
| Diagnosa : {{ isset($data['TBDiagnosa']) ? $data['TBDiagnosa'] : '-' }} | |||||||||||||||||||
| Permintaan Terapi : {{ isset($data['TAPermintaanTerapi']) ? $data['TAPermintaanTerapi'] : '-' }} | |||||||||||||||||||
| Program | Tanggal | TTD | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pasien | Dokter | Terapis | |||||||||||||||||
| {{ $item['program'] ?? '-' }} | {{ isset($item['tanggal']) ? date('d-m-Y', strtotime($item['tanggal'])) : '-' }} |
@php
$maxIndex = $loop->count - 1;
@endphp
|
|
|
|||||||||||||||