Add transaction sidebar (#534)

* Create sidebar element and working with turbo

* Add overview fields

* Add columns to transations and tidy modal

* permit new transaction params

* Add autosubmit form controller

* remove unused show code
This commit is contained in:
Cristiano Crolla
2024-03-10 21:38:31 +00:00
committed by GitHub
parent 9c9459211f
commit 7f2633f9da
9 changed files with 134 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
<h4><%= date.strftime('%b %d, %Y') %> &middot; <%= transactions.size %></h4>
<span><%= number_to_currency(-transactions.sum(&:amount)) %></span>
</div>
<div class="bg-white shadow-xs rounded-md border border-alpha-black-25 divide-y divide-alpha-black-50 px-4">
<div class="bg-white shadow-xs rounded-md border border-alpha-black-25 divide-y divide-alpha-black-50">
<%= render partial: "transactions/transaction", collection: transactions %>
</div>
</div>