Enable importing payee as payee_name
This commit is contained in:
@@ -64,12 +64,15 @@ export default class extends BaseTransactionParser<ParserConfig> {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const payee = ing.contrahentData?.trim()?.replaceAll(/\s+/g, " ");
|
||||
|
||||
return {
|
||||
amount,
|
||||
imported_id: ing.transactionNumber,
|
||||
notes: ing.title,
|
||||
date: ing.transactionDate,
|
||||
imported_payee: ing.contrahentData?.trim()?.replaceAll(/\s+/g, " ")
|
||||
imported_payee: payee,
|
||||
payee_name: payee,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user