diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj b/BeWoPlanerMobil/BeWoPlanerMobil.csproj
index d6934346e..1f3084e87 100644
--- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj
+++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj
@@ -314,6 +314,7 @@
+
diff --git a/BeWoPlanerMobil/Controllers/DevExpressSchedulerController.cs b/BeWoPlanerMobil/Controllers/DevExpressSchedulerController.cs
index 801b71f6d..ed83c92bc 100644
--- a/BeWoPlanerMobil/Controllers/DevExpressSchedulerController.cs
+++ b/BeWoPlanerMobil/Controllers/DevExpressSchedulerController.cs
@@ -63,6 +63,7 @@ namespace BeWoPlanerMobil.Controllers
return View(Model);
}
+
[Authorize]
public ActionResult SchedulerPagePartial()
{
diff --git a/BeWoPlanerMobil/Controllers/MainController.cs b/BeWoPlanerMobil/Controllers/MainController.cs
index f13a29168..d9bb9738e 100644
--- a/BeWoPlanerMobil/Controllers/MainController.cs
+++ b/BeWoPlanerMobil/Controllers/MainController.cs
@@ -948,12 +948,6 @@ namespace BeWoPlanerMobil.Controllers
item.IsLeaf = true;
}
- //goalTree = goalTree.OrderBy(o => o.ValueListEntryOid).ToList();
- //foreach(var item in goalTree)
- //{
- // SortGoals(item);
- //}
-
return goalTree;
}
@@ -3352,13 +3346,6 @@ namespace BeWoPlanerMobil.Controllers
return RedirectToActionPermanent("Customer", "Customer", new { id = Model.SelectedSupportConcept.Customer.Oid });
}
- //if(Model?.SelectedSupportConcept is null && (CustomerModel)Session[ModelSessionConstants.CustomerModelKey] != null)
- //{
- // var customerModel = (CustomerModel) Session[ModelSessionConstants.CustomerModelKey];
- // customerModel.SelectedCustomerOid = null;
- // customerModel.SelectedCustomer = null;
- //}
-
return RedirectToActionPermanent("Customer", "Customer");
}
@@ -5123,17 +5110,16 @@ namespace BeWoPlanerMobil.Controllers
}
[Authorize]
- public ActionResult ReloadGoals(bool forceReload = false)
+ public ActionResult ReloadGoals()
{
SkipModelInitialization = true;
- if (!IsUserLoggedIn())
+
+ if(!IsUserLoggedIn())
{
TempData[TempDataConstants.DoLogoutKey] = true;
}
- //LoadGoals();
-
- CreateModelSupportConceptListObjects(forceReload);
+ CreateModelSupportConceptListObjects(false);
LoadSupportConceptThings(null, true);
Model.GoalRatingTypes = OperationsService.GetAllRatingTypes().OrderBy(o => o.Position).ToList();
Model.HasAnyRatingTypes = Model.HasRightToRateGoals && Model.GoalRatingTypes.Any();
diff --git a/BeWoPlanerMobil/Models/DevExpressSchedulerSessionModel.cs b/BeWoPlanerMobil/Models/DevExpressSchedulerSessionModel.cs
new file mode 100644
index 000000000..f2c8276a6
--- /dev/null
+++ b/BeWoPlanerMobil/Models/DevExpressSchedulerSessionModel.cs
@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+namespace BeWoPlanerMobil.Models
+{
+ public class DevExpressSchedulerSessionModel
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/BeWoPlanerMobil/Models/MainModel.cs b/BeWoPlanerMobil/Models/MainModel.cs
index 17934d2d4..a9f10e9cd 100644
--- a/BeWoPlanerMobil/Models/MainModel.cs
+++ b/BeWoPlanerMobil/Models/MainModel.cs
@@ -832,7 +832,7 @@ namespace BeWoPlanerMobil.Models
#region ServiceRecord-Pagination
public int ServiceRecordCount { get; set; }
- public int CurrentPage { get { return MainSessionModel.CurrentPage; } set { MainSessionModel.CurrentPage = value; } }
+ public int CurrentPage { get => MainSessionModel.CurrentPage; set => MainSessionModel.CurrentPage = value; }
public int MaxResults { get; set; } = 10;
diff --git a/BeWoPlanerMobil/Views/DevExpressScheduler/SchedulerHelper.cs b/BeWoPlanerMobil/Views/DevExpressScheduler/SchedulerHelper.cs
index b697fd032..7371ff96d 100644
--- a/BeWoPlanerMobil/Views/DevExpressScheduler/SchedulerHelper.cs
+++ b/BeWoPlanerMobil/Views/DevExpressScheduler/SchedulerHelper.cs
@@ -5,7 +5,26 @@ using DevExpress.Web.Mvc;
using DevExpress.XtraScheduler;
using DayView = DevExpress.Web.ASPxScheduler.DayView;
-// TODO: Ist veraltet!
+// TODO:
+
+/*
+ *
+ * ToDo am 08.12.2025: Folgende Klassen erstellen:
+ *
+ * 1: SchedulerDataHelper mit Datenbankzugriffen
+ * GetAppointments()
+ * GetResources()
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ * 1. SchedulerDataObject
+ *
+ */
+
namespace BeWoPlanerMobil.Views.DevExpressScheduler
{
public static class SchedulerHelper
diff --git a/BeWoPlanerMobil/Views/Main/GoalRatingPopupContentPartial.cshtml b/BeWoPlanerMobil/Views/Main/GoalRatingPopupContentPartial.cshtml
index fd25861cd..f5e19af42 100644
--- a/BeWoPlanerMobil/Views/Main/GoalRatingPopupContentPartial.cshtml
+++ b/BeWoPlanerMobil/Views/Main/GoalRatingPopupContentPartial.cshtml
@@ -15,29 +15,29 @@