@extends('layouts.app') @push('styles') @endpush @section('content') @auth @php $clinicPrefixes = (array) config('tb_entry.general_id_prefixes', []); $formatDate = static function ($value): string { if (empty($value)) return ''; try { return \Carbon\Carbon::parse($value)->format('d-m-Y'); } catch (\Throwable $e) { return (string) $value; } }; @endphp
| ID | General ID | Name | TB number | Treatment date | Clinic | Outcome | Updated | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $record->id }} | {{ $record->Pid_TB03 }} | {{ $record->Name_TB03 }} | {{ $record->TNumber_TB03 }} | {{ $formatDate($record->TreDate_TB03) }} | {{ $record->Clinic_code }} | {{ $record->TrementOut_TB03 ?: '-' }} | {{ $record->updated_at ? $record->updated_at->format('d-m-Y H:i') : '' }} | |
| No TB-03 records found. | ||||||||