Dateien für das neue Kalendermodul hinzugefügt.

This commit is contained in:
2026-03-18 18:06:45 +01:00
parent 99e64f067d
commit 1db07b0b21
6 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
@using BeWoPlanerMobil.Util
@using BS.Shared.Extensions
@model BeWoPlanerMobil.Models.DevExpressSchedulerModel
<script type="text/javascript">
</script>

View File

@@ -0,0 +1,7 @@
@using BeWoPlanerMobil.Util
@using BS.Shared.Extensions
@model BeWoPlanerMobil.Models.DevExpressSchedulerModel
<script type="text/javascript">
</script>

View File

@@ -0,0 +1,7 @@
@using BeWoPlanerMobil.Util
@using BS.Shared.Extensions
@model BeWoPlanerMobil.Models.DevExpressSchedulerModel
<script type="text/javascript">
</script>

View File

@@ -0,0 +1,49 @@
@using BeWoPlanerMobil.Util
@using BS.Shared.Extensions
@model BeWoPlanerMobil.Models.DevExpressSchedulerModel
<script type="text/javascript">
function selectAllEmployeesOnChange() {
const isChecked = $("#all-employees-checkbox").prop("checked");
$("#employee-input-container").load(
"@Url.Action("SelectAllEmployees")",
{
isChecked: isChecked
},
() => {
$("#selected-employees-list").load(
"@Url.Action("LoadUpdatedEmployees")",
() => {
$("#one-day-scheduler-partial-container").load('@Url.Action("FetchAppointments", "Scheduler")');
}
);
}
);
}
function employeeListSearchOnChange() {
var text = $("#employee-search-input").val().toLowerCase();
const entries = $(".employee-text");
if(text.length === 0) {
entries.show();
}
$.each(entries, function (index, item) {
const employee = $(item);
if(employee.find(".employee-name-label").text().toLowerCase().includes(text)) {
employee.show();
} else {
employee.hide();
}
});
}
function resetEmployeeSearch() {
$("#employee-search-input").val("");
$(".employee-text").show();
}
</script>

View File

@@ -0,0 +1,7 @@
@using BeWoPlanerMobil.Util
@using BS.Shared.Extensions
@model BeWoPlanerMobil.Models.DevExpressSchedulerModel
<script type="text/javascript">
</script>

View File

@@ -0,0 +1,7 @@
@using BeWoPlanerMobil.Util
@using BS.Shared.Extensions
@model BeWoPlanerMobil.Models.DevExpressSchedulerModel
<script type="text/javascript">
</script>