From 134a1b8c9f632ee79f89ee8aff35536a509ec953 Mon Sep 17 00:00:00 2001 From: AJ Date: Sun, 19 Oct 2025 00:47:44 -0400 Subject: [PATCH] Transactions: make rows clickable to open Edit; remove Edit button; keep name as link --- MoneyMap/Pages/Transactions.cshtml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/MoneyMap/Pages/Transactions.cshtml b/MoneyMap/Pages/Transactions.cshtml index 0c726de..f2ebf72 100644 --- a/MoneyMap/Pages/Transactions.cshtml +++ b/MoneyMap/Pages/Transactions.cshtml @@ -1,4 +1,4 @@ -@page +@page @model MoneyMap.Pages.TransactionsModel @{ ViewData["Title"] = "Transactions"; @@ -150,22 +150,21 @@ Amount Category Payment/Account - Actions @foreach (var t in Model.Transactions) { - + #@t.Id @t.Date.ToString("yyyy-MM-dd")
- @t.Name + @t.Name @if (t.ReceiptCount > 0) { - 📄 @t.ReceiptCount + ?? @t.ReceiptCount } @if (!string.IsNullOrWhiteSpace(t.Notes)) @@ -174,7 +173,7 @@ title="@t.Notes" data-bs-toggle="tooltip" data-bs-placement="top"> - 📝 + ?? }
@@ -196,11 +195,7 @@ @t.CardLabel - - - Edit - - + } @@ -353,4 +348,4 @@ else document.getElementById('endDateInput').value = formatDate(endDate); } -} \ No newline at end of file +}