Skip to content

Commit

Permalink
Phantom date showing at the top of all reports. (#7433)
Browse files Browse the repository at this point in the history
* Phantom date showing at the top of all reports.

* PSR %$^&*(
  • Loading branch information
juggernautsei committed May 26, 2024
1 parent 610b811 commit 57973a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions interface/patient_file/report/custom_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -782,9 +782,10 @@ function zip_content($source, $destination, $content = '', $create = true)
echo "<div class='text encounter_form'>";
echo "<h4>" . text(xl_form_title($formres["form_name"])) . "</h4>";
}

if (!empty($dateres['date'])) {
// show the encounter's date
echo "(" . text(oeFormatSDFT(strtotime($dateres["date"]))) . ") ";
echo "(" . text(oeFormatSDFT(strtotime($dateres["date"]))) . ") ";
}
if ($res[1] == 'newpatient') {
// display the provider info
echo ' ' . xlt('Provider') . ': ' . text(getProviderName(getProviderIdOfEncounter($form_encounter)));
Expand Down

0 comments on commit 57973a2

Please sign in to comment.