From: Agnibho Mondal Date: Fri, 21 May 2021 05:20:04 +0000 (+0530) Subject: No growth report X-Git-Url: https://code.agnibho.com/repo?a=commitdiff_plain;h=0e5979fe2e442983f6140c08a3f197e3bbe33817;p=simpleipd.git No growth report --- 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