ing csv import

This commit is contained in:
davmar
2026-09-08 12:58:32 +02:00
parent 21df7b0085
commit e7a7b1a357
14 changed files with 1271 additions and 541 deletions
+6 -2
View File
@@ -207,7 +207,11 @@ class TxExactTemplate {
/// Strip bank noise so "AH Campus … Transactie:123" matches other AH Campus txs.
String merchantKeyFromDescription(String description) {
var s = description.trim().toLowerCase().replaceAll(RegExp(r'\s+'), ' ');
var s = description
.trim()
.toLowerCase()
.replaceAll('·', ' ')
.replaceAll(RegExp(r'\s+'), ' ');
if (s.startsWith('naam:')) {
s = s.substring(5).trim();
final om = s.indexOf(' omschrijving:');
@@ -216,7 +220,7 @@ String merchantKeyFromDescription(String description) {
const markers = [
' pasvolgnr',
' kaartnr',
'kaartnr',
' datum:',
' tijd:',
' transactie:',