mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
update debtors import
This commit is contained in:
@@ -20,6 +20,7 @@ class ImportsDebtor implements ToModel, WithHeadingRow, WithBatchInserts, WithVa
|
||||
$reference = preg_split('(-|\(|\)|\/)', $row['2nd_description']);
|
||||
$reference = $reference[array_key_last($reference)];
|
||||
$debtor = $row['code'];
|
||||
dd($debtor);
|
||||
$company = Company::where('reference', $reference)->first();
|
||||
|
||||
if ($company) {
|
||||
|
||||
Reference in New Issue
Block a user