Skip to content

Commit

Permalink
Phantom date showing at the top of all reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
juggernautsei committed May 9, 2024
1 parent 6cef758 commit ab6f45a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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"]))) . ") ";
}
if ($res[1] == 'newpatient') {
// display the provider info
echo ' ' . xlt('Provider') . ': ' . text(getProviderName(getProviderIdOfEncounter($form_encounter)));
Expand Down

0 comments on commit ab6f45a

Please sign in to comment.