update debtors import

This commit is contained in:
omair saleh
2022-03-18 18:02:16 +08:00
parent d2dcdf020e
commit f9b055e56d
@@ -18,8 +18,8 @@ class ImportUpdateDebtorController
$excel_file = $request->input('excel_file');
$excel_file = ExcelHandel::insertExcel('debtor', $excel_file);
// $excel_file = ExcelHandel::insertExcel('debtor', $excel_file);
return $import = Excel::import(new ImportsDebtor(), $excel_file[0]['file_info']['original']['file']);
return $import = Excel::import(new ImportsDebtor(), $excel_file);
}
}