Add support for refund

This commit is contained in:
Illya Marchenko 2024-03-30 16:27:05 +02:00
parent c2538647c6
commit 8ad6185239
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F

@ -158,8 +158,6 @@ func handleWebhook(w http.ResponseWriter, r *http.Request) {
break
}
}
// record transfer fee
if monobankTransaction.Data.StatementItem.CommissionRate > 0 {
firefly3Transactions = append(firefly3Transactions, firefly3.TransactionSplitStore{
Type_: &firefly3TransactionTypeWithdrawal,