Textbausteine wird IsActive zugewiesen beim Insert
Mitarbeiteranzahl ist jetzt korrekt bei Gruppenbuchungen im Mobilklienten Textbausteine-Button in der Mobilversion wird nicht angezeigt, wenn es keine Textbausteine gibt Der Klienten-Kommentar wird in der Mobilversion angezeigt
This commit is contained in:
@@ -28,9 +28,10 @@ namespace BeWo.ViewModel
|
||||
private bool _IsExpanded;
|
||||
|
||||
private TextModuleVM _Parent;
|
||||
|
||||
|
||||
public TextModuleVM(TextModuleDC pDataContract) : base(pDataContract, pDataContract.TextModuleOid == null) {}
|
||||
private ActivationTypeId _ActivationType;
|
||||
|
||||
public TextModuleVM(TextModuleDC pDataContract) : base(pDataContract, pDataContract.TextModuleOid == null) {}
|
||||
|
||||
|
||||
public bool IsExpanded
|
||||
@@ -78,6 +79,22 @@ namespace BeWo.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public ActivationTypeId ActivationType
|
||||
{
|
||||
get => _ActivationType;
|
||||
|
||||
set
|
||||
{
|
||||
if(AreDifferent(_ActivationType, value))
|
||||
{
|
||||
_ActivationType = value;
|
||||
StoreDirtyInformation(AreDifferent(DataContract.ActivationType, value), nameof(ActivationType));
|
||||
|
||||
FirePropertyChanged(nameof(ActivationType));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int Position
|
||||
{
|
||||
get => _Position;
|
||||
@@ -207,6 +224,7 @@ namespace BeWo.ViewModel
|
||||
pDataContract.Name = _Name;
|
||||
pDataContract.IsParent = _IsParent;
|
||||
pDataContract.IsExpanded = _IsExpanded;
|
||||
pDataContract.ActivationType = _ActivationType;
|
||||
|
||||
pDataContract.IsOnlyForEmployee = _IsOnlyForEmployee;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user