@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | |
| 159 | 159 | public function filter($fieldName, $operator, $value) |
| 160 | 160 | { |
| 161 | - switch ($operator) { |
|
| 161 | + switch ($operator) { |
|
| 162 | 162 | case "eq": |
| 163 | 163 | $operator = '='; |
| 164 | 164 | break; |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | break; |
| 168 | 168 | case "gt": |
| 169 | 169 | $operator = '>'; |
| 170 | - break; |
|
| 170 | + break; |
|
| 171 | 171 | case "lt": |
| 172 | 172 | $operator = '<'; |
| 173 | 173 | break; |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | break; |
| 130 | 130 | case "gt": |
| 131 | 131 | $operator = '>'; |
| 132 | - break; |
|
| 132 | + break; |
|
| 133 | 133 | case "lt": |
| 134 | 134 | $operator = '<'; |
| 135 | 135 | break; |
@@ -4,16 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Event; |
| 6 | 6 | use Illuminate\Support\Facades\Storage; |
| 7 | -use Illuminate\Pagination\Paginator; |
|
| 8 | -use Illuminate\Foundation\Application; |
|
| 9 | -use Maatwebsite\Excel\Classes\LaravelExcelWorksheet; |
|
| 10 | -use Maatwebsite\Excel\Excel; |
|
| 11 | -use Maatwebsite\Excel\Writers\LaravelExcelWriter; |
|
| 12 | 7 | use Nayjest\Grids\Components\Base\RenderableComponent; |
| 13 | 8 | use Nayjest\Grids\Components\Base\RenderableRegistry; |
| 14 | -use Nayjest\Grids\DataProvider; |
|
| 15 | -use Nayjest\Grids\DataRow; |
|
| 16 | -use Nayjest\Grids\FieldConfig; |
|
| 17 | 9 | use Nayjest\Grids\Grid; |
| 18 | 10 | |
| 19 | 11 | class ExcelDownload extends RenderableComponent |
@@ -4,13 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | use App\Components\Grid\ExtendedTableRow; |
| 6 | 6 | use App\Components\Grid\GridsToComponents; |
| 7 | -use App\Http\Controllers\SupportersController; |
|
| 8 | 7 | use App\Topic; |
| 9 | 8 | use App\User; |
| 10 | -use Event; |
|
| 11 | 9 | use Illuminate\Pagination\Paginator; |
| 12 | 10 | use Illuminate\Foundation\Application; |
| 13 | -use Illuminate\Support\Facades\DB; |
|
| 14 | 11 | use Maatwebsite\Excel\Classes\LaravelExcelWorksheet; |
| 15 | 12 | use Maatwebsite\Excel\Excel; |
| 16 | 13 | use Maatwebsite\Excel\Writers\LaravelExcelWriter; |