mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
update debtors import
This commit is contained in:
@@ -101,7 +101,7 @@ class ExportsWalletTransactions implements FromQuery, WithHeadingRow, WithMappin
|
||||
$transaction->bill_no,
|
||||
'',
|
||||
'500-0000',
|
||||
'BUYING CREDIT REF.' . $company->reference,
|
||||
'CREDIT SALES',
|
||||
'',
|
||||
'',
|
||||
'',
|
||||
|
||||
@@ -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']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user