[#54] Member: Add IsJuridicalPerson
All checks were successful
Test / Run tests (push) Successful in 2m49s
All checks were successful
Test / Run tests (push) Successful in 2m49s
This commit is contained in:
@ -38,7 +38,7 @@ namespace Elwig.ViewModels {
|
||||
[ObservableProperty]
|
||||
private bool _enableSearchInputs = true;
|
||||
[ObservableProperty]
|
||||
public IEnumerable<bool> _memberHasDeliveries = [ .. Enumerable.Range(0, 9999).Select(i => false) ];
|
||||
private IEnumerable<bool> _memberHasDeliveries = [ .. Enumerable.Range(0, 9999).Select(i => false) ];
|
||||
|
||||
[ObservableProperty]
|
||||
private bool _memberListOrderByMgNr;
|
||||
@ -54,14 +54,18 @@ namespace Elwig.ViewModels {
|
||||
private string? _predecessorMgNrString;
|
||||
public int? PredecessorMgNr => int.TryParse(PredecessorMgNrString, out var mgnr) ? mgnr : null;
|
||||
[ObservableProperty]
|
||||
private bool _isJuridicalPerson;
|
||||
[ObservableProperty]
|
||||
private string? _prefix;
|
||||
[ObservableProperty]
|
||||
private string? _givenName;
|
||||
[ObservableProperty]
|
||||
private string? _familyName;
|
||||
private string? _name;
|
||||
[ObservableProperty]
|
||||
private string? _suffix;
|
||||
[ObservableProperty]
|
||||
private string? _forTheAttentionOf;
|
||||
[ObservableProperty]
|
||||
private string? _birthday;
|
||||
[ObservableProperty]
|
||||
private string? _age;
|
||||
@ -176,5 +180,9 @@ namespace Elwig.ViewModels {
|
||||
private Visibility _controlButtonsVisibility = Visibility.Visible;
|
||||
[ObservableProperty]
|
||||
private Visibility _editingButtonsVisibility = Visibility.Hidden;
|
||||
[ObservableProperty]
|
||||
private Visibility _personalNameVisibility = Visibility.Visible;
|
||||
[ObservableProperty]
|
||||
private Visibility _juridicalNameVisibility = Visibility.Hidden;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user