]> Softwares of Agnibho - simpleipd.git/commitdiff
Bugfix
authorAgnibho Mondal <mondal@agnibho.com>
Mon, 7 Jun 2021 02:58:45 +0000 (08:28 +0530)
committerAgnibho Mondal <mondal@agnibho.com>
Mon, 7 Jun 2021 02:58:45 +0000 (08:28 +0530)
lib/db.php

index 1bff6835af7bd22396b154853a34b222a9658068..5aadf0c8fab45eae22647ba433443bf042f3c705 100644 (file)
@@ -383,7 +383,7 @@ class DB extends SQLite3 {
   function getArchivedPatientList(){
     global $log;
     if(!checkAccess("info", "dbGet")) return false;
-    $stmt=$this->prepare("SELECT pid,ward,bed,name,diagnosis FROM patients WHERE status!='admitted' ORDER BY UPPER(ward),bed;");
+    $stmt=$this->prepare("SELECT pid,ward,bed,name,diagnosis,status FROM patients WHERE status!='admitted' ORDER BY UPPER(ward),bed;");
     $result=$stmt->execute();
     return($result);
   }