From d46fd37b8c630af02733401cdf5479881dd7a2dc Mon Sep 17 00:00:00 2001 From: Paul Simon Date: Mon, 1 Nov 2010 12:56:44 +0530 Subject: [PATCH] New Payment Screen.If it is Patient Payment automatically his/her distribution comes.No need to once again select him/her. Signed-off-by: Paul Simon --- interface/billing/new_payment.php | 7 +++++++ interface/billing/payment_pat_sel.inc.php | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/interface/billing/new_payment.php b/interface/billing/new_payment.php index 254b9403e..d00d0b4a7 100644 --- a/interface/billing/new_payment.php +++ b/interface/billing/new_payment.php @@ -367,6 +367,12 @@ return false; @@ -400,6 +406,7 @@ return false; + "/> diff --git a/interface/billing/payment_pat_sel.inc.php b/interface/billing/payment_pat_sel.inc.php index d58b3f725..a353b5282 100644 --- a/interface/billing/payment_pat_sel.inc.php +++ b/interface/billing/payment_pat_sel.inc.php @@ -29,7 +29,7 @@ //=============================================================================== if (isset($_POST["mode"])) { - if ($_POST["mode"] == "search" && $_REQUEST['hidden_patient_code']*1>0) + if (($_POST["mode"] == "search" || $_POST["default_search_patient"] == "default_search_patient") && $_REQUEST['hidden_patient_code']*1>0) { $hidden_patient_code=$_REQUEST['hidden_patient_code']; $RadioPaid=$_REQUEST['RadioPaid']; @@ -61,10 +61,10 @@ if (isset($_POST["mode"])) } //=============================================================================== ?> - +
- +
-- 2.11.4.GIT