From e76644a1224da7f173453f758e901e1047ada89b Mon Sep 17 00:00:00 2001 From: Claudio Schaad Date: Sun, 11 May 2025 10:36:14 +0200 Subject: [PATCH] Add empty account --- .../Components/Pages/Home.razor | 106 ++++++++++-------- 1 file changed, 58 insertions(+), 48 deletions(-) diff --git a/Schaad.Accounting.UI/Components/Pages/Home.razor b/Schaad.Accounting.UI/Components/Pages/Home.razor index c721fda..2b95793 100644 --- a/Schaad.Accounting.UI/Components/Pages/Home.razor +++ b/Schaad.Accounting.UI/Components/Pages/Home.razor @@ -27,53 +27,63 @@ Cancel - - - - - - - - - - - - - - - @foreach (var transaction in matchingBankTransactions) - { +@if (matchingBankTransactions == null || matchingBankTransactions.Count == 0) +{ +

Keine Transaktionen vorhanden!

+} +else +{ +
BuchungsdatumValutadatumTextBetragKontoZusatzinfo
+ - - - - - - - - + + + + + + + + - } - -
@transaction.BookingDate.ToString("dd.MM.yyyy")
@transaction.ValueDate.ToString("dd.MM.yyyy")
-
- - - @foreach (var text in bookingTexts.OrderBy(t => t)) - { - - } - -
-
-
@transaction.Value.ToFormattedString()
-
- - -
@transaction.BankTransactionText
-
BuchungsdatumValutadatumTextBetragKontoZusatzinfo
+ + + @foreach (var transaction in matchingBankTransactions) + { + + +
@transaction.BookingDate.ToString("dd.MM.yyyy")
+ +
@transaction.ValueDate.ToString("dd.MM.yyyy")
+ +
+ + + @foreach (var text in bookingTexts.OrderBy(t => t)) + { + + } + +
+ + +
@transaction.Value.ToFormattedString()
+ + + + + +
@transaction.BankTransactionText
+ + + + + } + + +} \ No newline at end of file