Skip to content

Commit

Permalink
invoice past encounter button Bug fix openemr#5837 (openemr#5840)
Browse files Browse the repository at this point in the history
  • Loading branch information
juggernautsei committed Oct 13, 2022
1 parent fba7a9f commit 08d45c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interface/billing/sl_eob_invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ function setins(istr) {
return true;
}

function goEncounterSummary(pid) {
function goEncounterSummary(e, pid) {
if(pid) {
if(typeof opener.toEncSummary === 'function') {
opener.toEncSummary(pid);
opener.toEncSummary(e, pid);
}
}
doClose();
Expand Down Expand Up @@ -767,7 +767,7 @@ class="form-control"
</div>
<?php if ($from_posting) { ?>
<button type='button' class="btn btn-secondary btn-view float-right" name='form_goto' id="btn-goto"
onclick="goEncounterSummary(<?php echo attr_js($patient_id) ?>)"><?php echo xlt("Past Encounters"); ?></button>
onclick="goEncounterSummary(event, <?php echo attr_js($patient_id) ?>)"><?php echo xlt("Past Encounters"); ?></button>
<?php } ?>
</div>
</div>
Expand Down

0 comments on commit 08d45c5

Please sign in to comment.