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