fixed issues with the import

This commit is contained in:
Priec
2026-09-03 08:34:05 +02:00
parent df8df2729c
commit f7535a6fd5
10 changed files with 89 additions and 16 deletions

View File

@@ -60,12 +60,17 @@ process_csv() {
cleaned = clean_account($5)
key = key_value(cleaned)
if (key == "") {
cleaned = "\"000\""
key = "000"
}
$5 = cleaned
# Deleted:
# "000" -> true
# "000/" -> cleaned to "000" -> true
# "" -> true
# "" -> changed to "000" -> true
#
# Everything else -> false
if (key == "000" || key == "") {