|
@@ -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);
|
|
|
}
|