diff --git a/MoneyMap/Pages/Transactions.cshtml.cs b/MoneyMap/Pages/Transactions.cshtml.cs index 3c7edfb..157baf6 100644 --- a/MoneyMap/Pages/Transactions.cshtml.cs +++ b/MoneyMap/Pages/Transactions.cshtml.cs @@ -54,6 +54,13 @@ namespace MoneyMap.Pages public async Task OnGetAsync() { + // Default to last 30 days if no date filters provided + if (!StartDate.HasValue && !EndDate.HasValue) + { + StartDate = DateTime.Today.AddDays(-30); + EndDate = DateTime.Today; + } + var query = _db.Transactions .Include(t => t.Card) .ThenInclude(c => c!.Account) diff --git a/MoneyMap/Pages/ViewReceipt.cshtml b/MoneyMap/Pages/ViewReceipt.cshtml index 7e900d8..5cbe52f 100644 --- a/MoneyMap/Pages/ViewReceipt.cshtml +++ b/MoneyMap/Pages/ViewReceipt.cshtml @@ -214,6 +214,15 @@ {
@log.Error
} + @if (!string.IsNullOrWhiteSpace(log.RawProviderPayloadJson) && log.RawProviderPayloadJson != "{}") + { + +
+
@log.RawProviderPayloadJson
+
+ } }