From 977da34efc8f373583a35e0a067bf0d6647775f6 Mon Sep 17 00:00:00 2001 From: Guillem Arias Fauste Date: Thu, 10 Oct 2024 16:14:05 +0200 Subject: [PATCH] fix: use correct delimiter on credit card zero values (#1280) --- .../accounts/accountables/credit_card/_overview.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %>