diff --git a/app/components/DS/tooltip.html.erb b/app/components/DS/tooltip.html.erb index 3afe320c..3bd7a1ba 100644 --- a/app/components/DS/tooltip.html.erb +++ b/app/components/DS/tooltip.html.erb @@ -6,4 +6,4 @@ <%= tooltip_content %> - \ No newline at end of file + diff --git a/app/components/DS/tooltip.rb b/app/components/DS/tooltip.rb index 9d5f62a7..7189c4f3 100644 --- a/app/components/DS/tooltip.rb +++ b/app/components/DS/tooltip.rb @@ -14,4 +14,4 @@ class DS::Tooltip < ApplicationComponent def tooltip_content content? ? content : @text end -end \ No newline at end of file +end diff --git a/app/components/UI/account/activity_feed.html.erb b/app/components/UI/account/activity_feed.html.erb index c12abf0b..dde24b2e 100644 --- a/app/components/UI/account/activity_feed.html.erb +++ b/app/components/UI/account/activity_feed.html.erb @@ -79,7 +79,7 @@ <% grouped_entries.each do |date, entries| %> <%= render UI::Account::EntriesDateGroup.new( account: account, - date: date, + date: date, entries: entries, balance_trend: balance_trend_for_date(date), transfers: transfers_for_date(date) @@ -94,4 +94,4 @@ <% end %> <% end %> -<% end %> \ No newline at end of file +<% end %> diff --git a/app/components/UI/account/entries_date_group.html.erb b/app/components/UI/account/entries_date_group.html.erb index e7f5b05e..e63acd4a 100644 --- a/app/components/UI/account/entries_date_group.html.erb +++ b/app/components/UI/account/entries_date_group.html.erb @@ -28,47 +28,47 @@
Start of day balance
-
+
<%= start_balance_money.format %>
<% if account.balance_type == :investment %>
Cash Δ
-
+
<%= transaction_totals_money.format %>
Holdings Δ
-
+
<%= holding_change_money.format %>
<% else %>
Transaction totals
-
+
<%= transaction_totals_money.format %>
<% end %>
End of day balance
-
+
<%= end_balance_before_adjustments_money.format %>
-
+
Value adjustments Δ
-
-
<%= adjustments_money.format %>
+
+
<%= adjustments_money.format %>
Closing balance (incl. adjustments)
-
+
<%= end_balance_money.format %>
diff --git a/app/views/transactions/_transaction.html.erb b/app/views/transactions/_transaction.html.erb index 90158c57..bf0e3331 100644 --- a/app/views/transactions/_transaction.html.erb +++ b/app/views/transactions/_transaction.html.erb @@ -97,7 +97,7 @@ <%= content_tag :p, transaction.transfer? && view_ctx == "global" ? "+/- #{format_money(entry.amount_money.abs)}" : format_money(-entry.amount_money), class: ["text-green-600": entry.amount.negative?] %> - + <% end %> <% end %> diff --git a/test/components/previews/tooltip_component_preview.rb b/test/components/previews/tooltip_component_preview.rb index c2bad062..68bd6c32 100644 --- a/test/components/previews/tooltip_component_preview.rb +++ b/test/components/previews/tooltip_component_preview.rb @@ -29,4 +29,4 @@ class TooltipComponentPreview < ViewComponent::Preview end end end -end \ No newline at end of file +end