fix(abdm): define dateStr in health_records loop of findCareContextsForPatient
This commit is contained in:
parent
d949eca6a8
commit
c9f378870e
|
|
@ -7132,6 +7132,8 @@ class AbdmGateway extends BaseController
|
|||
'InvoiceRecord' => 'Invoice - ',
|
||||
default => $hiType . ' - ',
|
||||
};
|
||||
$rawDate = (string) ($row['created_at'] ?? $row['updated_at'] ?? 'now');
|
||||
$dateStr = date('d M Y', strtotime($rawDate));
|
||||
$display = $friendlyType . $dateStr;
|
||||
|
||||
$addContext([
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user