@@ -17,12 +17,12 @@ |
||
17 | 17 | $data['page_menu'] = Route::getCurrentRoute()->getActionName(); |
18 | 18 | $data['page_title'] = 'Import Data '.CB::getCurrentModule()->name; |
19 | 19 | |
20 | - if (! request('file') || request('import')) { |
|
20 | + if (!request('file') || request('import')) { |
|
21 | 21 | return $this->cbView('crudbooster::import', $data); |
22 | 22 | } |
23 | 23 | |
24 | 24 | $file = 'storage'.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.base64_decode(request('file')); |
25 | - $rows = Excel::load($file, function ($reader) { |
|
25 | + $rows = Excel::load($file, function($reader) { |
|
26 | 26 | })->get(); |
27 | 27 | |
28 | 28 | session()->put('total_data_import', count($rows)); |