Skip to content

Commit

Permalink
minor fixes to prior commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Oct 6, 2020
1 parent 8abadea commit 04074ac
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
3 changes: 0 additions & 3 deletions interface/forms/fee_sheet/new.php
Original file line number Diff line number Diff line change
Expand Up @@ -1501,9 +1501,6 @@ function pricelevel_changed(sel) {
<input type='hidden' name='form_checksum' value='<?php echo attr($current_checksum); ?>' />
<input type='hidden' name='form_alertmsg' value='<?php echo attr($alertmsg); ?>' />
</div>
<input type='hidden' name='form_has_charges' value='<?php echo $fs->hasCharges ? 1 : 0; ?>' />
<input type='hidden' name='form_checksum' value='<?php echo attr($current_checksum); ?>' />
<input type='hidden' name='form_alertmsg' value='<?php echo attr($alertmsg); ?>' />
</div>
</div>
</form>
Expand Down
1 change: 0 additions & 1 deletion interface/forms/newpatient/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ function refreshIssue(issue, title) {
e.preventDefault();
e.stopPropagation();
dlgopen('', '', 700, 650, '', '', {
buttons: [{text: <?php echo xlj('Close'); ?>, close: true, style: 'default btn-sm'}],
allowResize: true,
allowDrag: true,
dialogId: '',
Expand Down
4 changes: 2 additions & 2 deletions interface/forms/procedure_order/new.php
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ function addProcLine(flag = false) {
var rcvarname, targetElement, targetProcedure;

function current_diagnoses(whereElement) {
targetProcedure = whereElement.parentElement.parentElement.previousElementSibling;
targetElement = whereElement.parentElement.nextElementSibling;
targetProcedure = whereElement.parentElement.parentElement.parentElement.previousElementSibling;
targetElement = whereElement.parentElement.parentElement.nextElementSibling;
let title = <?php echo xlj("Diagnosis Codes History"); ?>;
dlgopen('find_code_history.php', 'dxDialog', 'modal-mlg', 450, '', title, {
buttons: [
Expand Down
4 changes: 2 additions & 2 deletions interface/patient_file/encounter/find_code_history.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function setCodes() {
setFormDx();
};
targetTipsButton.onclick = function () {
$("#tips").toggle();
$("#tips").toggleClass("d-none");
};
// search table to find a match for procedure we are seeking dx for.
let src = opener.targetProcedure.children[1].value;
Expand Down Expand Up @@ -181,7 +181,7 @@ function setCodes() {
echo "<li>" . xlt("The legacy code finder is still available for codes not found in this finder or code list editing.") . "</li>";
?>
</ul>
<button class='btn btn-sm btn-success float-right' onclick='$("#tips").toggle();return false;'><?php echo xlt('Dismiss') ?></button>
<button class='btn btn-sm btn-success float-right' onclick='$("#tips").toggleClass("d-none");return false;'><?php echo xlt('Dismiss') ?></button>
</div>
</section>
</div>
Expand Down
2 changes: 1 addition & 1 deletion interface/patient_file/summary/add_edit_issue.php
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ function divclick(cb, divid) {
} ?>>
<label class="col-form-label" for="form_destination"><?php echo xlt('Destination'); ?>:</label>
<?php if (true) { ?>
<input type='text' class='form-control' name='form_destination' id='form_destination' value='<?php echo attr($irow['destination']) ?>' style='width:100%' title='GP, delete care specialist, etc.' />
<input type='text' class='form-control' name='form_destination' id='form_destination' value='<?php echo attr($irow['destination']) ?>' style='width:100%' title='GP, Secondary care specialist, etc.' />
<?php } else { // leave this here for now, please -- Rod
?>
<?php echo rbinput('form_destination', '1', 'GP', 'destination') ?>&nbsp;
Expand Down

0 comments on commit 04074ac

Please sign in to comment.