@@ -78,8 +78,7 @@ |
||
| 78 | 78 | $cust = Customer::findOrFail($id); |
| 79 | 79 | |
| 80 | 80 | return CustomerFile::where('cust_id', $id) |
| 81 | - ->when($cust->parent_id, function($q) use ($cust) |
|
| 82 | - { |
|
| 81 | + ->when($cust->parent_id, function($q) use ($cust) { |
|
| 83 | 82 | $q->orWhere('cust_id', $cust->parent_id)->where('shared', true); |
| 84 | 83 | }) |
| 85 | 84 | ->with('FileUpload') |