From 0e5979fe2e442983f6140c08a3f197e3bbe33817 Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Fri, 21 May 2021 10:50:04 +0530 Subject: [PATCH] No growth report --- www/report.php | 1 + www/res/script.js | 4 ++++ www/vitek.php | 1 + 3 files changed, 6 insertions(+) diff --git a/www/report.php b/www/report.php index d13e52f..8f13094 100644 --- a/www/report.php +++ b/www/report.php @@ -46,6 +46,7 @@ if(!empty($_GET["pid"]) && !empty($_GET["form"])){

Add New Report

+ Upload PDF instead

";}?>
diff --git a/www/res/script.js b/www/res/script.js index 9905223..34af0f1 100644 --- a/www/res/script.js +++ b/www/res/script.js @@ -56,8 +56,12 @@ $(document).ready(function(){ if($("[name='sample']").length){ $(this).prop("autocomplete","off"); $.get("autocomplete/investigation.json", function(data){ + val=$("#get-sample").text(); $("[name='sample']").each(function(){ $(this).autocomplete({source:data.sample, highlightClass:'text-danger',treshold:0}); + if(val.length>0){ + $(this).val(val); + } }); }); }; diff --git a/www/vitek.php b/www/vitek.php index f1993ed..127a43c 100644 --- a/www/vitek.php +++ b/www/vitek.php @@ -33,6 +33,7 @@ else{

Type of Organism