Compare commits

...

2 Commits

Author SHA1 Message Date
beo3000 7af5fb909e fix cashbook - month and year selection 2026-01-04 14:03:33 +01:00
beo3000 2632947d1f mod: gif tigger on import 2026-01-04 13:55:24 +01:00
2 changed files with 5 additions and 2 deletions

View File

@ -23,6 +23,7 @@
<MudCheckBox @bind-Value="_circle" Label="Kranz" Color="Color.Primary" />
<MudCheckBox @bind-Value="_bell" Label="Glocke" Color="Color.Warning" />
<MudCheckBox @bind-Value="_gutter" Label="Rinne" Color="Color.Error" />
<MudCheckBox @bind-Value="_noWood" Label="kein Holz" Color="Color.Tertiary" />
</MudStack>
<MudTextField @bind-Value="_description"

View File

@ -13,13 +13,15 @@
<MudSelect T="int" @bind-Value="_selectedMonth" Label="Monat" Style="width: 150px;">
@for (int m = 1; m <= 12; m++)
{
<MudSelectItem Value="@m">@GetMonthName(m)</MudSelectItem>
var month = m;
<MudSelectItem Value="@month">@GetMonthName(month)</MudSelectItem>
}
</MudSelect>
<MudSelect T="int" @bind-Value="_selectedYear" Label="Jahr" Style="width: 120px;">
@for (int y = DateTime.Today.Year; y >= DateTime.Today.Year - 2; y--)
{
<MudSelectItem Value="@y">@y</MudSelectItem>
var year = y;
<MudSelectItem Value="@year">@year</MudSelectItem>
}
</MudSelect>
</MudStack>