support qpf file extension

This commit is contained in:
MaysWind
2024-10-30 22:51:41 +08:00
parent 43404adf49
commit 98c96b8217
4 changed files with 18 additions and 9 deletions
@@ -31,6 +31,10 @@ func GetTransactionDataImporter(fileType string) (base.TransactionDataImporter,
return _default.DefaultTransactionDataCSVFileConverter, nil
} else if fileType == "ezbookkeeping_tsv" {
return _default.DefaultTransactionDataTSVFileConverter, nil
} else if fileType == "ofx" {
return ofx.OFXTransactionDataImporter, nil
} else if fileType == "qfx" {
return ofx.OFXTransactionDataImporter, nil
} else if fileType == "qif_ymd" {
return qif.QifYearMonthDayTransactionDataImporter, nil
} else if fileType == "qif_mdy" {
@@ -39,8 +43,6 @@ func GetTransactionDataImporter(fileType string) (base.TransactionDataImporter,
return qif.QifDayMonthYearTransactionDataImporter, nil
} else if fileType == "iif" {
return iif.IifTransactionDataFileImporter, nil
} else if fileType == "ofx" {
return ofx.OFXTransactionDataImporter, nil
} else if fileType == "gnucash" {
return gnucash.GnuCashTransactionDataImporter, nil
} else if fileType == "firefly_iii_csv" {