Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

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

Guillem Arias Fauste977da34efc8f
diff --git a/app/views/accounts/accountables/credit_card/_overview.html.erb b/app/views/accounts/accountables/credit_card/_overview.html.erb
index 10864d04..3121528b 100644
--- a/app/views/accounts/accountables/credit_card/_overview.html.erb
+++ b/app/views/accounts/accountables/credit_card/_overview.html.erb
@@ -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>