1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-25 08:09:38 +02:00

fix: use correct delimiter on credit card zero values (#1280)

This commit is contained in:
Guillem Arias Fauste 2024-10-10 16:14:05 +02:00 committed by GitHub
parent 6288139a41
commit 977da34efc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@
<% end %>
<%= summary_card title: t(".minimum_payment") do %>
<%= format_money(account.credit_card.minimum_payment_money) || Money.new(0, account.currency) %>
<%= format_money(account.credit_card.minimum_payment_money || Money.new(0, account.currency)) %>
<% end %>
<%= summary_card title: t(".apr") do %>
@ -22,6 +22,6 @@
<% end %>
<%= summary_card title: t(".annual_fee") do %>
<%= format_money(account.credit_card.annual_fee_money) || Money.new(0, account.currency) %>
<%= format_money(account.credit_card.annual_fee_money || Money.new(0, account.currency)) %>
<% end %>
</div>