diff --git a/app/views/accounts/index/_account_groups.erb b/app/views/accounts/index/_account_groups.erb index 51ba4d8b..6c1ba1ed 100644 --- a/app/views/accounts/index/_account_groups.erb +++ b/app/views/accounts/index/_account_groups.erb @@ -11,7 +11,7 @@
<%= totals_by_currency(collection: accounts, money_method: :balance_money) %>
<% end %> -<%= categories.count %>
<%= @merchants.count %>
+ <%= index == headers.length - 1 ? "rounded-tr-lg" : "" %> + <%= index < headers.length - 1 ? "border-r border-r-alpha-black-200" : "" %> + "> + <%= header %> + | + <% end %> +|
---|---|
- <%= index == headers.length - 1 ? "rounded-tr-md" : "" %> - <%= index < headers.length - 1 ? "border-r border-r-alpha-black-200" : "" %> + <% row.each_with_index do |(header, value), col_index| %> + | + <%= !caption && row_index == rows.length - 1 && col_index == 0 ? "rounded-bl-md" : "" %> + <%= !caption && row_index == rows.length - 1 && col_index == row.length - 1 ? "rounded-br-md" : "" %> "> - <%= header %> - + <%= value %> + | <% end %>
- <%= !caption && row_index == rows.length - 1 && col_index == 0 ? "rounded-bl-md" : "" %> - <%= !caption && row_index == rows.length - 1 && col_index == row.length - 1 ? "rounded-br-md" : "" %> - "> - <%= value %> - | - <% end %> -
<%= Current.family.name %> · <%= Current.family.users.size %>
<%= @tags.count %>