update debtors import

This commit is contained in:
omair saleh
2022-03-19 14:11:39 +08:00
parent f9b055e56d
commit a38fb04a01
2 changed files with 3 additions and 3 deletions
@@ -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);
return $import = Excel::import(new ImportsDebtor(), $excel_file[0]['file_info']['original']['file']);
}
}