u
This commit is contained in:
@@ -22,7 +22,7 @@ class Import extends Component
|
|||||||
|
|
||||||
public function import()
|
public function import()
|
||||||
{
|
{
|
||||||
$data = Excel::import(new UsersImport, $this->photo);
|
$data = Excel::import(new UsersImport, $this->photo, 'Xlsx');
|
||||||
$this->photo = null;
|
$this->photo = null;
|
||||||
$this->importado = 'true';
|
$this->importado = 'true';
|
||||||
// aquí se puede procesar los datos obtenidos
|
// aquí se puede procesar los datos obtenidos
|
||||||
|
|||||||
Reference in New Issue
Block a user