handle 'caisse d'epargne' export encoding
This commit is contained in:
parent
a1a19f810b
commit
7e224d5e37
1 changed files with 4 additions and 4 deletions
|
|
@ -174,11 +174,11 @@ func ImportCaisseEpargneTransactions(content string, bankAccountID int) ([]Trans
|
|||
ShortLabel: toUTF8(fields[1]),
|
||||
Label: toUTF8(fields[2]),
|
||||
Reference: ref,
|
||||
Information: toUTF8(fields[4]),
|
||||
OperationType: toUTF8(fields[5]),
|
||||
Information: fields[4],
|
||||
OperationType: fields[5],
|
||||
AccountedAt: toDate(fields[0], "02/01/2006"),
|
||||
BankCategory: toUTF8(fields[6]),
|
||||
BankSubCategory: toUTF8(fields[7]),
|
||||
BankCategory: fields[6],
|
||||
BankSubCategory: fields[7],
|
||||
Debit: -toFloat(fields[8]),
|
||||
Credit: toFloat(fields[9]),
|
||||
BankAccountID: bankAccountID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue