From f7064fd4ddc3defcd4404d7b88bbb05420506091 Mon Sep 17 00:00:00 2001 From: Harshit Chaudhary <55315065+Harry-kp@users.noreply.github.com> Date: Thu, 27 Feb 2025 01:43:51 +0530 Subject: [PATCH] fixed example account balance (#1910) --- app/views/onboardings/preferences.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/onboardings/preferences.html.erb b/app/views/onboardings/preferences.html.erb index 633b9145..a0e2330b 100644 --- a/app/views/onboardings/preferences.html.erb +++ b/app/views/onboardings/preferences.html.erb @@ -12,7 +12,7 @@
<%= tag.p t(".example"), class: "text-secondary text-sm" %> - <%= tag.p "$2,323.25", class: "text-primary font-medium text-2xl" %> + <%= tag.p format_money(Money.new(2325.25, params[:currency] || @user.family.currency)), class: "text-primary font-medium text-2xl" %>

+<%= format_money(Money.new(78.90, params[:currency] || @user.family.currency)) %> (+<%= format_money(Money.new(6.39, params[:currency] || @user.family.currency)) %>)