@page "/transactions"
@attribute [Authorize]
@inject TransactionService TransactionService
@inject AccountService AccountService
@inject CategoryService CategoryService
@inject AuthenticationStateProvider AuthStateProvider
@rendermode InteractiveServer
Record, edit and manage your income and expenses.
Loading...
} else if (transactions.Count == 0) {| SetSort("date")'>Date @SortIndicator("date") | SetSort("description")'>Description @SortIndicator("description") | Account | Category | Recurrence | SetSort("amount")'>Amount @SortIndicator("amount") | ||
|---|---|---|---|---|---|---|---|
| ToggleSelect(t.Id)" /> | @t.Date.ToString("MMM dd, yyyy") | @t.Description | @t.Account.Name | @if (t.Category is not null) { @if (!string.IsNullOrEmpty(t.Category.Icon)) { @t.Category.Icon } @t.Category.Name } else { — } | @if (t.RecurrenceType != RecurrenceType.None) { 🔁 @t.RecurrenceType } else if (t.ParentTransactionId is not null) { 🔁 @(t.ParentTransaction?.RecurrenceType.ToString() ?? "Recurring") } | @(t.Type == TransactionType.Income ? "+" : "-")@t.Account.FormatAmount(t.Amount) |