@@ -24,8 +24,7 @@ |
||
24 | 24 | protected function getNotes($custID, $shared = false) |
25 | 25 | { |
26 | 26 | return CustomerNotes::where('cust_id', $custID) |
27 | - ->when($shared, function($q) |
|
28 | - { |
|
27 | + ->when($shared, function($q) { |
|
29 | 28 | $q->where('shared', 1); |
30 | 29 | }) |
31 | 30 | ->orderBy('urgent', 'DESC') |