diff --git a/app/models/family/auto_transfer_matchable.rb b/app/models/family/auto_transfer_matchable.rb
index 28d06f43afb..2f716029296 100644
--- a/app/models/family/auto_transfer_matchable.rb
+++ b/app/models/family/auto_transfer_matchable.rb
@@ -53,8 +53,6 @@ def auto_match_transfers!
# Track which transactions we've already matched to avoid duplicates
used_transaction_ids = Set.new
- candidates = []
-
Transfer.transaction do
candidates_scope.each do |match|
next if used_transaction_ids.include?(match.inflow_transaction_id) ||
diff --git a/app/views/accounts/show/_activity.html.erb b/app/views/accounts/show/_activity.html.erb
deleted file mode 100644
index ce9e74cd892..00000000000
--- a/app/views/accounts/show/_activity.html.erb
+++ /dev/null
@@ -1,93 +0,0 @@
-<%# locals: (account:) %>
-
-<%= turbo_frame_tag dom_id(account, "entries") do %>
-
-
- <%= tag.h2 t(".title"), class: "font-medium text-lg" %>
- <% unless @account.linked? %>
- <%= render DS::Menu.new(variant: "button") do |menu| %>
- <% menu.with_button(text: "New", variant: "secondary", icon: "plus") %>
-
- <% menu.with_item(
- variant: "link",
- text: "New balance",
- icon: "circle-dollar-sign",
- href: new_valuation_path(account_id: @account.id),
- data: { turbo_frame: :modal }) %>
-
- <% unless @account.crypto? %>
- <% href = @account.investment? ? new_trade_path(account_id: @account.id) : new_transaction_path(account_id: @account.id) %>
- <% menu.with_item(
- variant: "link",
- text: "New transaction",
- icon: "credit-card",
- href: href,
- data: { turbo_frame: :modal }) %>
- <% end %>
- <% end %>
- <% end %>
-
-
-
- <%= form_with url: account_path(account),
- id: "entries-search",
- scope: :q,
- method: :get,
- data: { controller: "auto-submit-form" } do |form| %>
-
-
-
- <%= icon("search") %>
- <%= hidden_field_tag :account_id, @account.id %>
- <%= form.search_field :search,
- placeholder: "Search entries by name",
- value: @q[:search],
- class: "form-field__input placeholder:text-sm placeholder:text-secondary",
- "data-auto-submit-form-target": "auto" %>
-
-
-
- <% end %>
-
-
- <% if @entries.empty? %>
-
<%= t(".no_entries") %>
- <% else %>
- <%= tag.div id: dom_id(@account, "entries_bulk_select"),
- data: {
- controller: "bulk-select",
- bulk_select_singular_label_value: t(".entry"),
- bulk_select_plural_label_value: t(".entries")
- } do %>
-
- <%= render "entries/selection_bar" %>
-
-
-
-
- <%= check_box_tag "selection_entry",
- class: "checkbox checkbox--light",
- data: { action: "bulk-select#togglePageSelection" } %>
-
<%= t(".date") %>
-
- <%= tag.p t(".amount"), class: "col-span-2 justify-self-end" %>
- <%= tag.p t(".balance"), class: "col-span-2 justify-self-end" %>
-
-
-
-
- <%= entries_by_date(@entries) do |entries| %>
- <% entries.each_with_index do |entry, index| %>
- <%= render entry, view_ctx: "account" %>
- <% end %>
- <% end %>
-
-
-
- <%= render "shared/pagination", pagy: @pagy %>
-
-
- <% end %>
- <% end %>
-
-<% end %>
diff --git a/app/views/credit_cards/_overview.html.erb b/app/views/credit_cards/_overview.html.erb
deleted file mode 100644
index 1dfcbb0b7be..00000000000
--- a/app/views/credit_cards/_overview.html.erb
+++ /dev/null
@@ -1,36 +0,0 @@
-<%# locals: (account:) %>
-
-
- <%= summary_card title: t(".amount_owed") do %>
- <%= format_money(account.balance_money) %>
- <% end %>
-
- <%= summary_card title: t(".available_credit") do %>
- <%= format_money(account.credit_card.available_credit_money) || t(".unknown") %>
- <% end %>
-
- <%= summary_card title: t(".minimum_payment") do %>
- <%= format_money(account.credit_card.minimum_payment_money || Money.new(0, account.currency)) %>
- <% end %>
-
- <%= summary_card title: t(".apr") do %>
- <%= account.credit_card.apr ? number_to_percentage(account.credit_card.apr, precision: 2) : t(".unknown") %>
- <% end %>
-
- <%= summary_card title: t(".expiration_date") do %>
- <%= account.credit_card.expiration_date ? l(account.credit_card.expiration_date, format: :long) : t(".unknown") %>
- <% end %>
-
- <%= summary_card title: t(".annual_fee") do %>
- <%= format_money(account.credit_card.annual_fee_money || Money.new(0, account.currency)) %>
- <% end %>
-
-
-
- <%= render DS::Link.new(
- text: "Edit account details",
- variant: "ghost",
- href: edit_credit_card_path(account),
- frame: :modal
- ) %>
-
diff --git a/app/views/layouts/shared/_page_header.html.erb b/app/views/layouts/shared/_page_header.html.erb
deleted file mode 100644
index 018195fe0c7..00000000000
--- a/app/views/layouts/shared/_page_header.html.erb
+++ /dev/null
@@ -1,11 +0,0 @@
-<%# This partial renders the page header with title and optional subtitle %>
-
diff --git a/app/views/shared/_app_version.html.erb b/app/views/shared/_app_version.html.erb
deleted file mode 100644
index d1d885459f5..00000000000
--- a/app/views/shared/_app_version.html.erb
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
Version: <%= Sure.version.to_release_tag %>
-
diff --git a/app/views/shared/_logo.html.erb b/app/views/shared/_logo.html.erb
deleted file mode 100644
index efdd27bdaeb..00000000000
--- a/app/views/shared/_logo.html.erb
+++ /dev/null
@@ -1 +0,0 @@
-<%= link_to image_tag("logomark.svg", class: "w-auto h-12 mx-auto"), root_path, data: { turbo: false} %>
diff --git a/app/views/shared/_text_tooltip.erb b/app/views/shared/_text_tooltip.erb
deleted file mode 100644
index a576b114cf2..00000000000
--- a/app/views/shared/_text_tooltip.erb
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- <%= tooltip_text %>
-
-
diff --git a/app/views/transfers/_account_links.html.erb b/app/views/transfers/_account_links.html.erb
deleted file mode 100644
index 738416c6ab3..00000000000
--- a/app/views/transfers/_account_links.html.erb
+++ /dev/null
@@ -1,25 +0,0 @@
-<%# locals: (transfer:, is_inflow: false) %>
-
- <% first_account, second_account = is_inflow ? [transfer.to_account, transfer.from_account] : [transfer.from_account, transfer.to_account] %>
-
- <%# Check if first_account exists before creating link %>
- <% if first_account %>
- <%= link_to first_account.name, account_path(first_account, tab: "activity"), class: "hover:underline", data: { turbo_frame: "_top" } %>
- <% else %>
-
- Data Error: Missing account
-
- <% end %>
-
- <%# Use icon helper per conventions %>
- <%= icon(is_inflow ? "arrow-left" : "arrow-right", size: "sm") %>
-
- <%# Check if second_account exists before creating link %>
- <% if second_account %>
- <%= link_to second_account.name, account_path(second_account, tab: "activity"), class: "hover:underline", data: { turbo_frame: "_top" } %>
- <% else %>
-
- Data Error: Missing account
-
- <% end %>
-