Fix OPD AdviceBlock label rendering
This commit is contained in:
parent
068cbe8ccd
commit
fb460e02e8
|
|
@ -4176,7 +4176,10 @@ class Opd extends BaseController
|
|||
$tokens['FindingBlock'] = (string) ($tokens['Finding_Examinations'] ?? '');
|
||||
$tokens['InvestigationBlock'] = (string) ($tokens['investigation'] ?? '');
|
||||
$tokens['RemarksBlock'] = (string) ($tokens['Prescriber_Remarks'] ?? '');
|
||||
$tokens['AdviceBlock'] = (string) ($tokens['advice'] ?? '');
|
||||
$adviceBlockBody = trim((string) ($tokens['advice'] ?? ''));
|
||||
$tokens['AdviceBlock'] = $adviceBlockBody !== ''
|
||||
? '<strong>Advice</strong> : ' . $adviceBlockBody
|
||||
: '';
|
||||
$tokens['NextVisitBlock'] = (string) ($tokens['next_visit'] ?? '');
|
||||
|
||||
$tokens['RxTable'] = $medicalHtml;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user