chore: full removal of recurring deposits

This commit is contained in:
juancwu 2026-03-14 14:51:23 +00:00
commit b092d12c57
5 changed files with 8 additions and 42 deletions

View file

@ -8,7 +8,7 @@ import (
"git.juancwu.dev/juancwu/budgit/internal/ui/layouts"
)
templ SpaceAccountsPage(space *model.Space, accounts []model.MoneyAccountWithBalance, totalBalance int, availableBalance int, recurringDeposits []*model.RecurringDepositWithAccount, transfers []*model.AccountTransferWithAccount, currentPage, totalPages int) {
templ SpaceAccountsPage(space *model.Space, accounts []model.MoneyAccountWithBalance, totalBalance int, availableBalance int, transfers []*model.AccountTransferWithAccount, currentPage, totalPages int) {
@layouts.Space("Accounts", space) {
<div class="space-y-4">
<div class="flex justify-between items-center">
@ -41,7 +41,6 @@ templ SpaceAccountsPage(space *model.Space, accounts []model.MoneyAccountWithBal
@moneyaccount.AccountCard(space.ID, &acct)
}
</div>
@moneyaccount.RecurringDepositsSection(space.ID, recurringDeposits, accounts)
@moneyaccount.TransferHistorySection(space.ID, transfers, currentPage, totalPages)
</div>
}