Skip to content

Commit

Permalink
Generate Demographic Widget/Cards from Modules - No custom function c…
Browse files Browse the repository at this point in the history
…all in "btnLink" openemr#6840 (openemr#6854)
  • Loading branch information
dcvidigal authored Sep 13, 2023
1 parent 85c5653 commit 5fa36a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface/patient_file/summary/demographics.php
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ function filterActiveIssues(array $i): array
'btnLink' => 'test',
];

echo $t->render($card->getTemplateFile(), array_merge($card->getTemplateVariables(), $viewArgs));
echo $t->render($card->getTemplateFile(), array_merge($viewArgs, $card->getTemplateVariables()));
}

if (!$GLOBALS['hide_billing_widget']) :
Expand Down Expand Up @@ -1646,7 +1646,7 @@ function filterActiveIssues(array $i): array
'btnLink' => "javascript:$('#patient_portal').collapse('toggle')",
];

echo $t->render($card->getTemplateFile(), array_merge($card->getTemplateVariables(), $viewArgs));
echo $t->render($card->getTemplateFile(), array_merge($viewArgs, $card->getTemplateVariables()));
}

if ($GLOBALS['erx_enable']) :
Expand Down

0 comments on commit 5fa36a3

Please sign in to comment.