mirror of
https://github.com/we-promise/sure.git
synced 2026-04-14 01:24:06 +00:00
* Initial entryable models * Update transfer and tests * Update transaction controllers and tests * Update sync process to use new entries model * Get dashboard working again * Update transfers, imports, and accounts to use Account::Entry * Update system tests * Consolidate transaction management into entries controller * Add permitted partial key helper * Move account transactions list to entries controller * Delegate transaction entries search * Move transfer relation to entry * Update bulk transaction management flows to use entries * Remove test code * Test fix attempt * Update demo data script * Consolidate remaining transaction partials to entries * Consolidate valuations controller to entries controller * Lint fix * Remove unused files, additional cleanup * Add back valuation creation * Make migrations fully reversible * Stale routes cleanup * Migrations reversible fix * Move types to entryable concern * Fix search when no entries found * Remove more unused code
11 lines
383 B
Plaintext
11 lines
383 B
Plaintext
<%= modal do %>
|
|
<article class="mx-auto p-4 space-y-4 w-screen max-w-xl">
|
|
<header class="flex justify-between">
|
|
<h2 class="font-medium text-xl">New transaction</h2>
|
|
<%= lucide_icon "x", class: "w-5 h-5 text-gray-500", data: { action: "click->modal#close" } %>
|
|
</header>
|
|
|
|
<%= render "form", transaction: @transaction, entry: @entry %>
|
|
</article>
|
|
<% end %>
|