diff --git a/Schaad.Accounting.UI/Components/Pages/Transactions.razor.cs b/Schaad.Accounting.UI/Components/Pages/Transactions.razor.cs index 8c851fa..5936994 100644 --- a/Schaad.Accounting.UI/Components/Pages/Transactions.razor.cs +++ b/Schaad.Accounting.UI/Components/Pages/Transactions.razor.cs @@ -98,7 +98,8 @@ public partial class Transactions : ComponentBase private async Task DeleteAsync(string id) { var transaction = await transactionRepository.GetTransactionAsync(id); - var dialog = await dialogService.ShowConfirmationAsync($"Transaction '{transaction.Text}' mit Betrag {transaction.Value} wirklich löschen?", "Ja", "Nein", "Transaktion löschen"); + var message = $"Transaktion '{transaction.Text}' mit Betrag {transaction.Value.ToFormattedString()} wirklich löschen?"; + var dialog = await dialogService.ShowConfirmationAsync(message, "Ja", "Nein", "Transaktion löschen"); var result = await dialog.Result; if (!result.Cancelled) { diff --git a/UI_IMPROVEMENT_PLAN.md b/UI_IMPROVEMENT_PLAN.md index a8d406c..e4b7394 100644 --- a/UI_IMPROVEMENT_PLAN.md +++ b/UI_IMPROVEMENT_PLAN.md @@ -171,7 +171,7 @@ Split into two PRs on delivery because the header path touches ~15 pages. ### Phase 4 — Feedback + polish for mutations - **U-7** `IToastService.ShowSuccess(...)` after every successful save/delete across Accounts, BookingRules, BookingTexts, Classes, Transactions. -- **U-8** Format values in confirmation messages; centralize the confirmation message builder. +- **U-8** Format the raw decimal in Transactions' delete confirmation via `ToFormattedString()`, and fix the "Transaction" → "Transaktion" typo. Turned out to be a one-file change — the other four CRUD pages don't put values into confirmations. - **U-9** Add `` filter to Accounts, BookingRules, BookingTexts, BankTransactions. ### Phase 5 — Home page split