[#77] Entities: Add AreaComContract to group area commitments together

This commit is contained in:
2026-03-30 19:35:53 +02:00
parent f96ebdcf60
commit 4460de9975
26 changed files with 918 additions and 335 deletions

View File

@@ -20,7 +20,11 @@ namespace Elwig.ViewModels {
}
[ObservableProperty]
private bool _showOnlyActiveAreaComs;
private string? _filterSeasonString;
public int? FilterSeason {
get => int.TryParse(FilterSeasonString, out var year) ? year : null;
set => FilterSeasonString = $"{value}";
}
[ObservableProperty]
private string? _fbNrString;
@@ -46,6 +50,8 @@ namespace Elwig.ViewModels {
get => int.TryParse(YearToString, out var year) ? year : null;
set => YearToString = $"{value}";
}
[ObservableProperty]
private string? _period;
[ObservableProperty]
private AreaComType? _areaComType;

View File

@@ -11,7 +11,6 @@ namespace Elwig.ViewModels {
public partial class MemberAdminViewModel : ObservableObject {
public int? TransferPredecessorAreaComs = null;
public bool MaintainAreaComYearFrom = false;
public int? CancelAreaComs = null;
public ObservableCollection<KeyValuePair<string, string>> PhoneNrTypes { get; set; } = new(Utils.PhoneNrTypes);