From f001cc66a420080fc8719d54c5480999f65c4494 Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 6 Jan 2014 17:45:39 -0500 Subject: [PATCH] Correct missing instances of xl in various files. --- controllers/C_Prescription.class.php | 2 +- interface/patient_file/printed_fee_sheet.php | 2 +- interface/patient_file/report/patient_report.php | 2 +- library/dialog.js | 2 +- library/report.inc | 177 ++++++++++++----------- library/restoreSession.php | 1 + 6 files changed, 95 insertions(+), 91 deletions(-) diff --git a/controllers/C_Prescription.class.php b/controllers/C_Prescription.class.php index 2f8670378..6b79bce51 100644 --- a/controllers/C_Prescription.class.php +++ b/controllers/C_Prescription.class.php @@ -35,7 +35,7 @@ class C_Prescription extends Controller { if ($GLOBALS['inhouse_pharmacy']) { // Make an array of drug IDs and selectors for the template. $drug_array_values = array(0); - $drug_array_output = array("-- or select from inventory --"); + $drug_array_output = array("-- " . xl('or select from inventory') ." --"); $drug_attributes = ''; // $res = sqlStatement("SELECT * FROM drugs ORDER BY selector"); diff --git a/interface/patient_file/printed_fee_sheet.php b/interface/patient_file/printed_fee_sheet.php index e913b688f..87341afbe 100644 --- a/interface/patient_file/printed_fee_sheet.php +++ b/interface/patient_file/printed_fee_sheet.php @@ -146,7 +146,7 @@ if (empty($SBCODES)) { $pres = sqlStatement("SELECT option_id, title FROM list_options " . "WHERE list_id = 'superbill' ORDER BY seq"); while ($prow = sqlFetchArray($pres)) { - $SBCODES[] = '*G|' . $prow['title']; + $SBCODES[] = '*G|' . xl_list_label($prow['title']); $res = sqlStatement("SELECT code_type, code, code_text FROM codes " . "WHERE superbill = '" . $prow['option_id'] . "' AND active = 1 " . "ORDER BY code_text"); diff --git a/interface/patient_file/report/patient_report.php b/interface/patient_file/report/patient_report.php index 1575c08c2..cf83c9329 100644 --- a/interface/patient_file/report/patient_report.php +++ b/interface/patient_file/report/patient_report.php @@ -185,7 +185,7 @@ function show_date_fun(){
-
+