diff --git a/app/views/reports/_breakdown_table.html.erb b/app/views/reports/_breakdown_table.html.erb index e312465ae..4a8cbdb50 100644 --- a/app/views/reports/_breakdown_table.html.erb +++ b/app/views/reports/_breakdown_table.html.erb @@ -8,11 +8,11 @@ %>
-

+
<%= icon(icon_name, class: "w-5 h-5") %> - <%= t(title_key) %> - (<%= Money.new(total, Current.family.currency).format %>) -

+ <%= t(title_key) %>: + <%= Money.new(total, Current.family.currency).format %> +
diff --git a/app/views/reports/_trends_insights.html.erb b/app/views/reports/_trends_insights.html.erb index bcd2de789..603a148a4 100644 --- a/app/views/reports/_trends_insights.html.erb +++ b/app/views/reports/_trends_insights.html.erb @@ -1,7 +1,7 @@
<%# Month-over-Month Trends %>
-

+

<%= t("reports.trends.monthly_breakdown") %>

@@ -53,21 +53,21 @@ <% avg_net = trends_data.sum { |t| t[:net] } / trends_data.length %>
-

<%= t("reports.trends.avg_monthly_income") %>

+

<%= t("reports.trends.avg_monthly_income") %>

<%= Money.new(avg_income, Current.family.currency).format %>

-

<%= t("reports.trends.avg_monthly_expenses") %>

+

<%= t("reports.trends.avg_monthly_expenses") %>

<%= Money.new(avg_expenses, Current.family.currency).format %>

-

<%= t("reports.trends.avg_monthly_savings") %>

+

<%= t("reports.trends.avg_monthly_savings") %>

"> <%= Money.new(avg_net, Current.family.currency).format %>