% content_for :title do %> <%= t("reports.print.document_title") %> - <%= @start_date.strftime("%B %d, %Y") %> to <%= @end_date.strftime("%B %d, %Y") %> <% end %>
| <%= group[:name] %> | <%= group[:total].format %> |
| <%= group[:name] %> | <%= group[:total].format %> |
<%= t("reports.print.net_worth.no_liabilities") %>
<% end %>| <%= t("reports.print.trends.month") %> | <%= t("reports.print.trends.income") %> | <%= t("reports.print.trends.expenses") %> | <%= t("reports.print.trends.net") %> | <%= t("reports.print.trends.savings_rate") %> |
|---|---|---|---|---|
| <%= trend[:month] %><%= trend[:is_current_month] ? " *" : "" %> | <%= Money.new(trend[:income], Current.family.currency).format %> | <%= Money.new(trend[:expenses], Current.family.currency).format %> | "><%= Money.new(trend[:net], Current.family.currency).format %> | <% month_savings_rate = trend[:income] > 0 ? ((trend[:net].to_f / trend[:income].to_f) * 100).round(0) : 0 %> <%= month_savings_rate %>% |
| <%= t("reports.print.trends.average") %> | <%= Money.new(avg_income, Current.family.currency).format %> | <%= Money.new(avg_expenses, Current.family.currency).format %> | "><%= Money.new(avg_net, Current.family.currency).format %> | <%= overall_savings_rate %>% |
<%= t("reports.print.trends.current_month_note") %>
<% end %>| <%= t("reports.print.investments.holding") %> | <%= t("reports.print.investments.weight") %> | <%= t("reports.print.investments.value") %> | <%= t("reports.print.investments.return") %> |
|---|---|---|---|
| <%= holding.ticker %> <%= truncate(holding.name, length: 25) %> | <%= number_to_percentage(holding.weight || 0, precision: 1) %> | <%= format_money(holding.amount_money) %> | <% if holding.trend %> <%= holding.trend.percent_formatted %> <% else %> — <% end %> |
| <%= t("reports.print.spending.category") %> | <%= t("reports.print.spending.amount") %> | <%= t("reports.print.spending.percent") %> |
|---|---|---|
| <%= group[:category_name] %> | <%= Money.new(group[:total], Current.family.currency).format %> | <%= percentage %>% |
| <%= t("reports.print.spending.more_categories", count: income_groups.length - 8) %> |
| <%= t("reports.print.spending.category") %> | <%= t("reports.print.spending.amount") %> | <%= t("reports.print.spending.percent") %> |
|---|---|---|
| <%= group[:category_name] %> | <%= Money.new(group[:total], Current.family.currency).format %> | <%= percentage %>% |
| <%= t("reports.print.spending.more_categories", count: expense_groups.length - 8) %> |