mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 20:44:08 +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
21 lines
665 B
Plaintext
21 lines
665 B
Plaintext
<%# locals: (transaction:) %>
|
|
<div class="text-gray-900 grid grid-cols-8 items-center py-4 text-sm font-medium px-4">
|
|
<div class="col-span-3">
|
|
<%= render "transactions/name", transaction: transaction %>
|
|
</div>
|
|
|
|
<div class="col-span-2">
|
|
<%= render partial: "transactions/categories/badge", locals: { category: transaction.category } %>
|
|
</div>
|
|
|
|
<div class="col-span-2 flex items-center gap-1">
|
|
<% transaction.tags.each do |tag| %>
|
|
<%= render partial: "tags/badge", locals: { tag: tag } %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<div class="col-span-1 justify-self-end">
|
|
<%= render "transactions/amount", transaction: transaction %>
|
|
</div>
|
|
</div>
|