diff --git a/htdocs/ajax/lab_admin_add.php b/htdocs/ajax/lab_admin_add.php index 2892279b4..09f3c83e0 100755 --- a/htdocs/ajax/lab_admin_add.php +++ b/htdocs/ajax/lab_admin_add.php @@ -21,13 +21,14 @@ $email = $_REQUEST['em']; $phone = $_REQUEST['ph']; $lang_id = $_REQUEST['lang']; +$lab_id = $_REQUEST['lab'];//AS 09/04/2018 Added lab ID $user = new User(); $user->username = $username; $user->password = $password; $user->level = $LIS_ADMIN; $user->actualName = $fullname; -$user->labConfigId = 0; +$user->labConfigId = $lab_id;//AS 09/04/2018 Lab ID $user->email = $email; $user->phone = $phone; $user->createdBy = $_SESSION['user_id']; diff --git a/htdocs/ajax/result_data_count_new.php b/htdocs/ajax/result_data_count_new.php new file mode 100644 index 000000000..2977323d7 --- /dev/null +++ b/htdocs/ajax/result_data_count_new.php @@ -0,0 +1,204 @@ + +
+ '' - + +
+ '' - + diff --git a/htdocs/ajax/result_data_page_new.php b/htdocs/ajax/result_data_page_new.php new file mode 100644 index 000000000..1cc91c084 --- /dev/null +++ b/htdocs/ajax/result_data_page_new.php @@ -0,0 +1,443 @@ + +
+ '' - + +
+ '' - + +
+ ".$attrib_value.""; + echo " - ".LangUtil::$pageTerms['MSG_PENDINGNOTFOUND']; + ?> +
+ + + + + + + + + + + + + + + + + hidePatientName == 0) + if($_SESSION['user_level'] == $LIS_TECH_SHOWPNAME) + { + ?> + + + + + + + + + +
+patientId); + ?> + + + > + + + + + + + + + + + hidePatientName == 0) + if($_SESSION['user_level'] == $LIS_TECH_SHOWPNAME) + { + ?> + + + + + + + + + +
+
+
+ + + 2) +{ + # Show "view more" link for revealing earlier patient records + ?> + View older entries » +

+ + + + diff --git a/htdocs/ajax/result_entry_patient_dyn.php b/htdocs/ajax/result_entry_patient_dyn.php index af0e38e32..c9c710603 100755 --- a/htdocs/ajax/result_entry_patient_dyn.php +++ b/htdocs/ajax/result_entry_patient_dyn.php @@ -7,6 +7,15 @@ include("../includes/db_lib.php"); include("../includes/user_lib.php"); LangUtil::setPageId("results_entry"); +if(!isset($_REQUEST['result_cap'])) + $result_cap = $rcap; +else + $result_cap = $_REQUEST['result_cap']; + +if(!isset($_REQUEST['result_counter'])) + $result_counter = 1; +else + $result_counter = $_REQUEST['result_counter']; $attrib_value = $_REQUEST['t']; $attrib_type = $_REQUEST['a']; @@ -83,12 +92,10 @@