diff --git a/Layout/default/TimerecordingBilling/DetailClosed.php b/Layout/default/TimerecordingBilling/DetailClosed.php index 65684fe40..b74296a68 100644 --- a/Layout/default/TimerecordingBilling/DetailClosed.php +++ b/Layout/default/TimerecordingBilling/DetailClosed.php @@ -1,6 +1,7 @@ +
@@ -64,19 +129,19 @@ Mitarbeiter/PersNr. Leistungszeiten Nichtleistungszeiten - Istst.(NLZ+LZ) - Sollstunden + NLZ+LZ + Sollst. Sollabweichung - Mehrstunden - Ges. Überst. + Mehrst. + Ges. Überst. superexpertEnabled()): ?> - Black P. Stunden + Black P. St. - M25 - Ü50 - Ü100 + M25 + Ü50 + Ü100 Diäten - Homeoffice + HO @@ -115,33 +180,50 @@ } else { $nlz = ""; } + if ($timerecording->transfer_overtime > 0) { + $overtimeclass = "sm-text-right"; + } else { + $overtimeclass = "sm-text-right-ot"; + } ?> - () timerecordingEmployee->user->name ?> + ( + ) timerecordingEmployee->user->name ?> ishours / 3600, 2), "2", ",", ".") ?> ishourssum / 3600, 2), "2", ",", ".") ?> musthours / 3600, 2), "2", ",", ".") ?> - ">ishourssum-$timerecording->musthours) / 3600, 2), "2", ",", ".") ?> overtime_plushours) ? "(".number_format(round(($timerecording->overtime_plushours) / 3600, 2), "2", ",", ".").")" : '' ?> - - plushours_all == 0) ? '
' : '' ?>plushours_all) / 3600, 2), "2", ",", ".") ?> - plushours_all > 0) ? '' : '
' ?> - timerecordingEmployee->overtime_now == 0) ? '
' : '' ?>timerecordingEmployee->overtime_now / 3600, 2), "2", ",", ".") ?> - timerecordingEmployee->overtime_now > 0) ? '' : '
' ?> + ">ishourssum - $timerecording->musthours) / 3600, 2), "2", ",", ".") ?> + overtime_plushours) ? "(" . number_format(round(($timerecording->overtime_plushours) / 3600, 2), "2", ",", ".") . ")" : '' ?> + + ' . number_format(round($timerecording->plushours_all / 3600, 2), "2", ",", ".") ?>plushours_all > 0) ? '' : '' ?>transfer_plushours) ? '' . round($timerecording->transfer_plushours * -1 / 3600, 2) . '' : '' ?> + ' . number_format(round($timerecording->timerecordingEmployee->overtime_now / 3600, 2), "2", ",", ".") ?>timerecordingEmployee->overtime_now > 0) ? '' : '' ?>transfer_overtime) ? '' . round($timerecording->transfer_overtime * -1 / 3600, 2) . '' : '' ?> superexpertEnabled()): ?> - timerecordingEmployee->bpahours / 3600, 2), "2", ",", ".") ?> + transfer_bpahours * -1 > 0) ? '' : '' ?> ' . number_format(round($timerecording->timerecordingEmployee->bpahours / 3600, 2), "2", ",", ".") ?>transfer_bpahours) ? '' . (round($timerecording->transfer_bpahours * -1 / 3600, 2)) . '' : '' ?> - plushours25 / 3600, 2), "2", ",", ".") ?> - overtime50free / 3600, 2), "2", ",", ".") ?> - overtime100free / 3600, 2), "2", ",", ".") ?> - diet, 2, ',', '.') . " €" ?> - homeoffice ?> Tag(e) + plushours25 > 0) ? '' : '' ?> ' . number_format(round($timerecording->plushours25 / 3600, 2), "2", ",", ".") ?> + overtime50free > 0) ? '' : '' ?> ' . number_format(round($timerecording->overtime50free / 3600, 2), "2", ",", ".") ?> + overtime100free > 0) ? '' : '' ?> ' . number_format(round($timerecording->overtime100free / 3600, 2), "2", ",", ".") ?> + diet, 2, ',', '.') . " €" ?> + homeoffice ?> T -
@@ -165,33 +247,39 @@ - - + + + + + + - + - + - + superexpertEnabled()): ?> - - + + @@ -215,9 +303,9 @@ @@ -209,7 +216,7 @@ $daysgerm = array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"); $.getJSON(requestUrl, function (data) { }).done(function (json) { - var bgcolors = ['rgba(251, 71, 71,0.2)', 'rgba(253, 126, 20, 0.25)', 'rgba(91, 71, 251, 0.2)', 'rgba(71, 251, 151, 0.2)', 'rgba(251, 71, 194, 0.2)', 'rgba(20, 251, 253, 0.25)']; + var bgcolors = ['rgb(71 93 251 / 34%)', 'rgb(228 187 249 / 65%)', 'rgb(243 251 117 / 68%)', 'rgb(71 251 176 / 68%)', 'rgb(119 206 247 / 65%)', 'rgb(251 196 71 / 68%)','rgb(251 171 216 / 69%)','rgb(152 155 243 / 65%)','rgb(243 152 109 / 68%)','rgb(255 187 187 / 65%)','rgb(131 245 60 / 68%)','rgb(144 241 245 / 65%)']; //read data from json var json = json.data; var holidays = []; @@ -218,12 +225,12 @@ $daysgerm = array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"); $.each(json, function (index, value) { if (oldname != value.user.user) { colorcount++; - if (colorcount > 5) { + if (colorcount > 11) { colorcount = 0; } oldname = value.user.user; } - if (value.hourday.hourday!='5') { + if (value.hourday.hourday != '5') { holidays.push({ id: cindex, backgroundColor: bgcolors[colorcount], @@ -275,6 +282,7 @@ $daysgerm = array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"); var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { locale: 'de', + themeSystem: 'bootstrap4', headerToolbar: { left: "prev,today,next", center: 'title', diff --git a/Layout/default/TimerecordingEmployee/Form.php b/Layout/default/TimerecordingEmployee/Form.php index 26db7b565..96cc90190 100644 --- a/Layout/default/TimerecordingEmployee/Form.php +++ b/Layout/default/TimerecordingEmployee/Form.php @@ -152,7 +152,7 @@ $daysSelect .= ""; -
Überstunden 50
Überstunden 100
Blackpig
Blackpig