From 6884cebbc3efe18e11e7b38c6065f81950b95b11 Mon Sep 17 00:00:00 2001 From: sunsetsystems Date: Thu, 22 Oct 2009 20:16:50 +0000 Subject: [PATCH] simplified a bit --- interface/patient_file/printed_fee_sheet.php | 30 ++++++++++------------------ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/interface/patient_file/printed_fee_sheet.php b/interface/patient_file/printed_fee_sheet.php index 596ae8258..a71f426bd 100644 --- a/interface/patient_file/printed_fee_sheet.php +++ b/interface/patient_file/printed_fee_sheet.php @@ -29,11 +29,11 @@ $form_fill = empty($_GET['fill']) ? 0 : 1; // if (file_exists("../../custom/fee_sheet_codes.php")) include_once ("../../custom/fee_sheet_codes.php"); - -$fontsize = trim($_REQUEST['fontsize']) + 0; -if (!$fontsize) $fontsize = 7; -$page_height = trim($_REQUEST['page_height']) + 0; -if (!$page_height) $page_height = 700; + +// TBD: Move these to globals.php, or make them user-specific. +$fontsize = 7; +$page_height = 700; + $padding = 0; // The $SBCODES table is a simple indexed array whose values are @@ -93,7 +93,7 @@ if (empty($SBCODES)) { } // Extra stuff for the labs section. - $SBCODES[] = '*G|' . xl('Additional Labs'); + $SBCODES[] = '*G|' . xl('Notes'); $percol = intval((count($SBCODES) + 2) / 3); while (count($SBCODES) < $percol * 3) $SBCODES[] = '*B|'; @@ -429,13 +429,8 @@ else { - - Additional procedures:
- - - - - Diagnosis:
+ + Notes:
@@ -481,14 +476,9 @@ else { } // end while ?>
-

+

' onclick='printme()' /> -  Font Size in Points: - -  Page Height in Points: - -   - +

-- 2.11.4.GIT