diff --git a/interface/patient_file/encounter/superbill_custom_full.php b/interface/patient_file/encounter/superbill_custom_full.php index a0632e659a3..0c126a0d80c 100644 --- a/interface/patient_file/encounter/superbill_custom_full.php +++ b/interface/patient_file/encounter/superbill_custom_full.php @@ -7,6 +7,7 @@ include_once("../../globals.php"); include_once("../../../custom/code_types.inc.php"); include_once("$srcdir/sql.inc"); +include_once("$srcdir/options.inc.php"); // Translation for form fields. function ffescape($field) { @@ -37,7 +38,7 @@ function bucks($amount) { $code_text = $_POST['code_text']; $modifier = $_POST['modifier']; // $units = $_POST['units']; - $superbill = $_POST['superbill']; + $superbill = $_POST['form_superbill']; $related_code = $_POST['related_code']; $cyp_factor = $_POST['cyp_factor'] + 0; @@ -59,7 +60,7 @@ function bucks($amount) { "modifier = '" . ffescape($modifier) . "' AND " . "id != '$code_id'"); if ($crow['count']) { - $alertmsg = "Cannot add/update this entry because a duplicate already exists!"; + $alertmsg = xl('Cannot add/update this entry because a duplicate already exists!'); } else { $sql = @@ -306,18 +307,9 @@ function submitDelete(id) {