Bugfixes im Intervallfinder und Rechteprüfung verbessert im MoK
This commit is contained in:
@@ -462,12 +462,12 @@ namespace BeWoPlanerMobil.Controllers
|
||||
{
|
||||
if(Model == null)
|
||||
{
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
Model.SelectedCustomer = Model.Customers.FirstOrDefault(customer => customer.CustomerOid == customerOid);
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -476,7 +476,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model is null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
var isParsingSuccessful1 = int.TryParse(startDayString, out var startDay);
|
||||
@@ -495,7 +495,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
Model.SelectedYear = year;
|
||||
}
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -504,7 +504,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model is null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
var isParsingSuccessful2 = long.TryParse(organisationOidStr, out var organisationOid);
|
||||
@@ -514,7 +514,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
Model.SelectedServiceCategory = isParsingSuccessful3 ? OperationsService.LoadServiceCategory(categoryOid) : null;
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -523,13 +523,13 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model is null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
Model.IsForSelectedEmployeesOnly = isForSelectedEmployeeOnly ?? false;
|
||||
Model.SelectedEmployee = employeeOid.HasValue ? Model.Employees.FirstOrDefault(employee => employee.EmployeeOid.Equals(employeeOid.Value)) : null;
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -538,12 +538,12 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model is null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
Model.SelectedEmployee = employeeOid.HasValue ? Model.Employees.FirstOrDefault(employee => employee.EmployeeOid.Equals(employeeOid)) : null;
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -552,13 +552,13 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model is null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
Model.IsForSelectedCostbearersOnly = isForSelectedOrganisationOnly ?? false;
|
||||
Model.SelectedOrganisation = organisationOid.HasValue ? Model.Organisations.FirstOrDefault(organisation => organisation.OrganisationOid.Equals(organisationOid)) : null;
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -567,12 +567,12 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model is null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
Model.SelectedOrganisation = organisationOid.HasValue ? Model.Organisations.FirstOrDefault(organisation => organisation.OrganisationOid.Equals(organisationOid)) : null;
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -581,7 +581,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model is null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
Model.IsForSelectedCategoryOnly = isForSelectedServiceCategoryOnly ?? false;
|
||||
@@ -590,7 +590,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
Model.SelectedServiceCategory = Model.ServiceCategories.FirstOrDefault(serviceCategory => serviceCategory.ServiceCategoryOid == serviceCategoryOid);
|
||||
}
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -599,7 +599,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model is null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
if(serviceCategoryOid.HasValue)
|
||||
@@ -607,7 +607,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
Model.SelectedServiceCategory = Model.ServiceCategories.FirstOrDefault(serviceCategory => serviceCategory.ServiceCategoryOid == serviceCategoryOid);
|
||||
}
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -621,7 +621,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model == null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
var isParsingSuccessful = int.TryParse(filterEnumString, out var filterEnumValue);
|
||||
@@ -643,7 +643,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -653,7 +653,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model == null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
var shouldOverwrite = overwrite.HasValue && overwrite.Value;
|
||||
@@ -735,7 +735,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
OperationsService.InsertConfirmationReceiptSignature(confirmationReceiptSignature);
|
||||
}
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
[Authorize]
|
||||
@@ -746,7 +746,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
if(Model == null)
|
||||
{
|
||||
Logout();
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
|
||||
if(!string.IsNullOrWhiteSpace(oidsAsString))
|
||||
@@ -775,7 +775,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
return MobileUtils.SerializeObject(imageStrings);
|
||||
}
|
||||
|
||||
return _LeerzeichenFuerGetMethoden;
|
||||
return LeerzeichenFuerGetMethoden;
|
||||
}
|
||||
catch(Exception exception)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user