mirror of
https://github.com/we-promise/sure.git
synced 2026-04-10 15:54:48 +00:00
An overhaul and cleanup of the transactions feature including: - Simplification of transactions search and filtering - Consolidation of account sync logic after transaction change - Split sidebar modal and modal into "drawer" and "modal" concepts - Refactor of transaction partials and folder organization - Cleanup turbo frames and streams for transaction updates, including new Transactions::RowsController for inline updates - Refactored and added several integration and systems tests
18 lines
609 B
Plaintext
18 lines
609 B
Plaintext
<%= turbo_frame_tag dom_id(transaction), class: "grid grid-cols-12 items-center text-gray-900 py-4 text-sm font-medium px-4" do %>
|
|
<div class="col-span-4">
|
|
<%= render "transactions/name", transaction: transaction %>
|
|
</div>
|
|
|
|
<div class="col-span-3">
|
|
<%= render "transactions/categories/menu", transaction: transaction %>
|
|
</div>
|
|
|
|
<%= link_to transaction.account.name,
|
|
account_path(transaction.account),
|
|
class: ["col-span-3 hover:underline"] %>
|
|
|
|
<div class="col-span-2 ml-auto">
|
|
<%= render "transactions/amount", transaction: transaction %>
|
|
</div>
|
|
<% end %>
|