ing csv import
This commit is contained in:
@@ -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:',
|
||||
|
||||
Reference in New Issue
Block a user