瀏覽代碼

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

Vijayakrishnan 3 年之前
父節點
當前提交
e447728766
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
         }