@@ -26,8 +26,7 @@ |
||
26 | 26 | protected function getEquipment($custID, $shared = false) |
27 | 27 | { |
28 | 28 | return CustomerSystems::where('cust_id', $custID) |
29 | - ->when($shared, function($q) |
|
30 | - { |
|
29 | + ->when($shared, function($q) { |
|
31 | 30 | $q->where('shared', 1); |
32 | 31 | }) |
33 | 32 | ->with('CustomerSystemData') |