Browse Source

Admin: Notes pending sign - query fix + link from dashboard

Vijayakrishnan 3 years ago
parent
commit
e447728766
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/PracticeManagementController.php

+ 1 - 1
app/Http/Controllers/PracticeManagementController.php

@@ -378,7 +378,7 @@ OFFSET {$offset} LIMIT {$perPage}
     public function notes(Request $request, $filter = '')
     {
         $proID = $this->performer()->pro->id;
-        $query = Note::where('is_cancelled', FALSE);
+        $query = Note::where('is_cancelled', FALSE)->where('is_core_note', '<>', true);
         if ($this->performer()->pro->pro_type !== 'ADMIN') {
             $query = $query->where('hcp_pro_id', $proID);
         }