From 52242eac184f8d42a4e55cd2fb67dd763499d347 Mon Sep 17 00:00:00 2001 From: victorbalssa Date: Thu, 11 Aug 2022 10:14:28 -0700 Subject: [PATCH] [FIX] #28 --- src/models/transactions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/transactions.ts b/src/models/transactions.ts index 68e7426..fe4507f 100644 --- a/src/models/transactions.ts +++ b/src/models/transactions.ts @@ -105,6 +105,7 @@ export default createModel()({ /* currency_id: '12', */ /* foreign_amount: '123.45', */ /* foreign_currency_id: '17', */ + amount: payload.amount.replace(/,/g, '.'), ...payload, }],