From c6a01e120f9e8175952039fbe93dc7b66e7b7684 Mon Sep 17 00:00:00 2001 From: AJ Date: Sun, 12 Oct 2025 13:16:02 -0400 Subject: [PATCH] Improve receipt mapping UI with transaction selector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced the manual transaction ID input with a user-friendly transaction selector dropdown in the map receipt modal. Changes: - Added RecentTransactions list to Receipts page model - Load last 100 transactions without receipts for dropdown - Updated modal dialog: - Larger modal (modal-lg) for better visibility - Multi-select dropdown showing formatted transaction details: - Date | Amount | Name | (Merchant) - Monospace font for aligned columns - Size 10 to show multiple options at once - Receipt info displayed in styled info box - Manual ID input field as fallback option - Link to Transactions page for finding IDs - Two-way binding between selector and manual input User Experience: - Users can now visually browse and select transactions - Transaction details are formatted for easy scanning - Only shows transactions that don't already have receipts - Fallback to manual ID entry for edge cases - Receipt parsed data clearly displayed for comparison 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- MoneyMap/Pages/Receipts.cshtml | 37 +++++++++++++++++++++++-------- MoneyMap/Pages/Receipts.cshtml.cs | 36 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 9 deletions(-) diff --git a/MoneyMap/Pages/Receipts.cshtml b/MoneyMap/Pages/Receipts.cshtml index 7fd5fef..476368a 100644 --- a/MoneyMap/Pages/Receipts.cshtml +++ b/MoneyMap/Pages/Receipts.cshtml @@ -200,7 +200,7 @@ @foreach (var r in Model.Receipts.Where(r => !r.TransactionId.HasValue)) {