Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch1 more cherry-picks #7457

Merged
merged 8 commits into from
May 27, 2024
Next Next commit
Phantom date showing at the top of all reports. (#7433)
* Phantom date showing at the top of all reports.

* PSR %$^&*(

(cherry picked from commit 57973a2)
  • Loading branch information
juggernautsei authored and sjpadgett committed May 26, 2024
commit a6bccd1e68c680883a9b3356c37fdbac85ee9097
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