This commit is contained in:
Dr Masroor Ehsan 2025-01-07 13:21:32 +06:00
parent ed1262581a
commit 85bdcc13f8

View File

@ -27,7 +27,7 @@ public function show()
$this->decodeKeys();
$study = Study::with(['details'])->findOrFail($this->key);
$fmtD = 'M d, Y';
//$fmtDT = 'M d, Y h:i A D';
// $fmtDT = 'M d, Y h:i A D';
$fmtDT = 'F j, Y h:i A (l)';
if (! is_null($study->patient_birthdate)) {
$age = sprintf('%sY <span class="text-muted ms-2">%s</span>', $study->patient_birthdate->age, $study->patient_birthdate->format($fmtD));