This commit is contained in:
Lyndon Jetten
2021-03-17 19:47:38 +01:00
parent 176a8e1409
commit 18f1e5ace2

View File

@@ -42,15 +42,11 @@ namespace BeWoPlanerMobil.Models
{
get
{
#if DEBUG
var mandator = new MobileSessionFacade().OperationsService.GetMandator();
var showEmployeeSignatureSetting = MobileUtils.GetSettingValue(mandator.Settings, "ShowEmployeeSignature");
var showEmployeeSignatureSetting = MobileUtils.GetSettingValue(mandator.Settings, SettingsKeys.ShowEmployeeSignature);
return MobileSessionFacade.CheckForUserRight(UserRightType.Analysis_ServiceOverview_View) && showEmployeeSignatureSetting != null && showEmployeeSignatureSetting.Equals("1");
#endif
return false;
}
}