Zeiterfassung

Update:
* Abwesenheitskalender geht nun 3 Jahre in die Zukunft
This commit is contained in:
Daniel Spitzer
2024-11-19 09:27:05 +01:00
parent 20fa3f9df9
commit 6e970adac7
2 changed files with 17 additions and 5 deletions
@@ -186,12 +186,13 @@ $daysgerm = array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa");
color: #fff;
}
.fa-window-maximize, .fa-window-restore{
.fa-window-maximize, .fa-window-restore {
font-size: 20px;
cursor: pointer;
color: #323a36;
}
.card-fullscreen {
display: block;
z-index: 1040;
@@ -219,7 +220,7 @@ $daysgerm = array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa");
<script>
var calendar;
document.addEventListener('DOMContentLoaded', function () {
let requestUrl = "<?= self::getUrl("TimerecordingReport", "api", ['do' => 'getTimerecordings', 'datatype' => '3', 'datayear' => time()]) ?>";
let requestUrl = "<?= self::getUrl("TimerecordingReport", "api", ['do' => 'getTimerecordings', 'datatype' => '3', 'datayear' => time(),'calendar'=>'1']) ?>";
var cindex = 1;
var holiDays = [];
var birthdays = [];
@@ -337,7 +338,8 @@ $daysgerm = array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa");
};
var initialLocaleCode = 'en';
var calendarEl = document.getElementById('calendar');
calendar = new FullCalendar.Calendar(calendarEl, {
calendar = new FullCalendar.Calendar(calendarEl, {
schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives',
locale: 'de',
themeSystem: 'bootstrap4',
headerToolbar: {