@@ -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 | { |
@@ -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 | { |
@@ -96,14 +96,14 @@ |
||
| 96 | 96 | ->when(isset($searchData->name), function($q) use ($searchData) |
| 97 | 97 | { |
| 98 | 98 | $q->where('name', 'like', '%'.$searchData->name.'%') |
| 99 | - ->orWhere('cust_id', 'like', '%'.$searchData->name.'%') |
|
| 100 | - ->orWhere('dba_name', 'like', '%'.$searchData->name.'%'); |
|
| 99 | + ->orWhere('cust_id', 'like', '%'.$searchData->name.'%') |
|
| 100 | + ->orWhere('dba_name', 'like', '%'.$searchData->name.'%'); |
|
| 101 | 101 | }) |
| 102 | 102 | // Search by equipment type |
| 103 | 103 | ->when($includeSystems, function($q) |
| 104 | 104 | { |
| 105 | 105 | $q->with('CustomerSystems.SystemTypes') |
| 106 | - ->with('ParentSystems.SystemTypes'); |
|
| 106 | + ->with('ParentSystems.SystemTypes'); |
|
| 107 | 107 | }) |
| 108 | 108 | ->paginate($pagination->perPage); |
| 109 | 109 | } |