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

Custom patient report cleanup (Fixes: #5744, #5765, #5766) #5751

Merged
merged 6 commits into from
Oct 1, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make the patient name much larger (Fixes: #5766)
  • Loading branch information
tsimonq2 committed Sep 30, 2022
commit d5c9c46b320eefcaf4b0df2dec18cd56e5965308
7 changes: 5 additions & 2 deletions interface/patient_file/report/custom_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,11 @@ function zip_content($source, $destination, $content = '', $create = true)
$practice_logo = $plogo[$k];
}

echo "<div class='table-responsive'><table class='table'><tbody><tr><td>";
echo "<div class='table-responsive'><table class='table'><tbody><tr><td class='text-left align-middle'>";
?>
<a href="javascript:window.close();"><h1><?php echo text($titleres['lname']) . ", " . text($titleres['fname']); ?></h1></a>
<?php
echo "</td><td class='text-right'>";
if (file_exists($practice_logo)) {
$logo_path = $GLOBALS['OE_SITE_WEBROOT'] . "/images/" . basename($practice_logo);
echo "<img class='h-auto' style='max-width:250px;' src='$logo_path'>"; // keep size within reason
Expand All @@ -274,7 +278,6 @@ function zip_content($source, $destination, $content = '', $create = true)
<?php echo text($facility['city']); ?>, <?php echo text($facility['state']); ?><?php echo text($facility['postal_code']); ?><br clear='all'>
<?php echo text($facility['phone']); ?><br />

<a href="javascript:window.close();"><span class='title'><?php echo xlt('Patient') . ": " . text($titleres['fname']) . " " . text($titleres['lname']); ?></span></a><br />
<span class='text'><?php echo xlt('Generated on'); ?>: <?php echo text(oeFormatShortDate()); ?></span>
<?php echo "</td></tr></tbody></table></div>"; ?>

Expand Down