add fiat balances dashboard

This commit is contained in:
João Geonizeli
2021-08-11 23:30:51 -03:00
parent 5cda80446f
commit 0b247d390b
6 changed files with 85 additions and 2 deletions

View File

@@ -24,5 +24,7 @@ class FiatBalance < ApplicationRecord
monetize :amount_cents
validates :amount, presence: true
def amount_formatted
amount.format
end
end