@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $parts = pathinfo($name); |
| 41 | 41 | $ext = isset($parts['extension']) ? ('.'.$parts['extension']) : ''; |
| 42 | 42 | $base = $parts['filename']; |
| 43 | - $number = 0; |
|
| 43 | + $number = 0; |
|
| 44 | 44 | |
| 45 | 45 | do |
| 46 | 46 | { |
@@ -85,13 +85,13 @@ |
||
| 85 | 85 | ->when(isset($searchData->name), function($q) use ($searchData) |
| 86 | 86 | { |
| 87 | 87 | $q->where('name', 'like', '%'.$searchData->name.'%') |
| 88 | - ->orWhere('cust_id', 'like', '%'.$searchData->name.'%') |
|
| 89 | - ->orWhere('dba_name', 'like', '%'.$searchData->name.'%'); |
|
| 88 | + ->orWhere('cust_id', 'like', '%'.$searchData->name.'%') |
|
| 89 | + ->orWhere('dba_name', 'like', '%'.$searchData->name.'%'); |
|
| 90 | 90 | }) |
| 91 | 91 | ->when($includeSystems, function($q) |
| 92 | 92 | { |
| 93 | 93 | $q->with('CustomerSystems.SystemTypes') |
| 94 | - ->with('ParentSystems.SystemTypes'); |
|
| 94 | + ->with('ParentSystems.SystemTypes'); |
|
| 95 | 95 | }) |
| 96 | 96 | ->paginate($pagination->perPage); |
| 97 | 97 | } |