Explorar o código

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

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
e447728766
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         }