diff --git a/BudgetApp/Components/Pages/Transactions.razor b/BudgetApp/Components/Pages/Transactions.razor index b39e15c..983be29 100644 --- a/BudgetApp/Components/Pages/Transactions.razor +++ b/BudgetApp/Components/Pages/Transactions.razor @@ -107,31 +107,55 @@ else if (transactions.Count == 0) } else { -
-
- - - -
- - +
+
+
Filters
+
+
+ + + + +
+ + to +
+
+
+
+ +
+
+ +
+
+ + +
+
+
+
+ +
@@ -142,8 +166,8 @@ else - - + + @@ -155,14 +179,14 @@ else - + - - - - } @@ -204,7 +226,7 @@ else @if (totalPages > 1) { -
Date @SortIndicator("date") Description @SortIndicator("description") AccountCategoryRecurrenceCategoryRecurrence Amount @SortIndicator("amount")
@t.Date.ToString("MMM dd, yyyy")@t.Date.ToString("MMM dd, yyyy") @t.Description @t.Account.Name + @if (t.Category is not null) { @if (!string.IsNullOrEmpty(t.Category.Icon)) @@ -176,7 +200,7 @@ else — } + @if (t.RecurrenceType != RecurrenceType.None) { 🔁 @t.RecurrenceType @@ -186,16 +210,14 @@ else 🔁 @(t.ParentTransaction?.RecurrenceType.ToString() ?? "Recurring") } + @(t.Type == TransactionType.Income ? "+" : "-")@t.Account.FormatAmount(t.Amount) - - + +
+ + +