From f8bb5d5a8292cac13a5bee42f0977c23c6f71234 Mon Sep 17 00:00:00 2001 From: AJ Date: Sun, 26 Oct 2025 00:01:11 -0400 Subject: [PATCH] Feature: add ability to unmap receipts from transactions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add unmap functionality to allow users to disassociate receipts from transactions without deleting them: - ReceiptManager: Add UnmapReceiptAsync method - Receipts page: Add OnPostUnmapAsync handler - Receipts view: Add Unmap button for mapped receipts with confirmation dialog This provides a non-destructive alternative to deleting receipts when they need to be remapped to different transactions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- MoneyMap/Pages/Receipts.cshtml | 8 ++++++++ MoneyMap/Pages/Receipts.cshtml.cs | 18 ++++++++++++++++++ MoneyMap/Services/ReceiptManager.cs | 16 +++++++++++++++- 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/MoneyMap/Pages/Receipts.cshtml b/MoneyMap/Pages/Receipts.cshtml index 64921b6..392c893 100644 --- a/MoneyMap/Pages/Receipts.cshtml +++ b/MoneyMap/Pages/Receipts.cshtml @@ -235,6 +235,14 @@ Map } + else + { +
+ +
+ }