diff --git a/Layout/default/TimerecordingBilling/Detail.php b/Layout/default/TimerecordingBilling/Detail.php index 75f4c5e8f..53d7b11ef 100644 --- a/Layout/default/TimerecordingBilling/Detail.php +++ b/Layout/default/TimerecordingBilling/Detail.php @@ -38,6 +38,9 @@
| Mitarbeiter/PersNr. | +Leistungszeiten | +Nichtleistungszeiten | +Iststunden (NLZ+LZ) | +Sollstunden | +Sollabweichung | +Gesamt Überstunden | + superexpertEnabled()): ?> +Black P. Stunden | + +Ü50 | +Ü100 | +Diäten | +Homeoffice | +
|---|---|---|---|---|---|---|---|---|---|---|---|
| + | + | + | + | + | + superexpertEnabled()): ?> + | + + | + | + | + | + | + |
| (= $employee_number ?> + ) = $timerecording->timerecordingEmployee->user->name ?> | += number_format(round($timerecording->ishours / 3600, 2), "2", ",", ".") ?> | += $nlz ?> | += number_format(round($timerecording->ishourssum / 3600, 2), "2", ",", ".") ?> | += number_format(round($timerecording->musthours / 3600, 2), "2", ",", ".") ?> | += (($timerecording->ishourssum - $timerecording->musthours) == 0) ? '' : '' ?>= number_format(round(($timerecording->ishourssum - $timerecording->musthours) / 3600, 2), "2", ",", ".") ?> + = (($timerecording->ishourssum - $timerecording->musthours) > 0) ? '' : '' ?> | += ($timerecording->timerecordingEmployee->overtime_now == 0) ? '' : '' ?>= number_format(round($timerecording->timerecordingEmployee->overtime_now / 3600, 2), "2", ",", ".") ?> + = ($timerecording->timerecordingEmployee->overtime_now > 0) ? '' : '' ?> | + superexpertEnabled()): ?> += number_format(round($timerecording->timerecordingEmployee->bpahours / 3600, 2), "2", ",", ".") ?> | + += number_format(round($timerecording->overtime50free / 3600, 2), "2", ",", ".") ?> | += number_format(round($timerecording->overtime100free / 3600, 2), "2", ",", ".") ?> | += number_format($timerecording->diet, 2, ',', '.') . " €" ?> | += $timerecording->homeoffice ?> Tag(e) | +
| Monat | -Abgeschlossen | -Abgeschlossen am | -Abgeschlossen von | -||||
|---|---|---|---|---|---|---|---|
| - | - | - | - |
| $month]) ?>"> = $month ?> | -- | - | + | Monat | +Abgeschlossen | +Abgeschlossen am | +Abgeschlossen von |
|---|
| Fahrtenbuch | += ($timerecordingcar->timerecording) ? "Ja" : "Nein" ?> | +||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Erstzulassung | = ($timerecordingcar->initial_approval) ? date("m/Y", $timerecordingcar->initial_approval) : "-" ?> | diff --git a/Layout/default/TimerecordingCar/Form.php b/Layout/default/TimerecordingCar/Form.php index 070fdd9b9..bc8f624f6 100644 --- a/Layout/default/TimerecordingCar/Form.php +++ b/Layout/default/TimerecordingCar/Form.php @@ -4,6 +4,10 @@ if (isset($_GET['returnto']) && $_GET['returnto'] == "detail") { } else { $cancelUrl = self::getUrl("TimerecordingCar"); } +foreach ($timerecordingusers as $timerecordinguser) { + $timerecordingUsers[$timerecordinguser->name] = $timerecordinguser->id; +} +ksort($timerecordingUsers); ?> @@ -46,6 +50,20 @@ if (isset($_GET['returnto']) && $_GET['returnto'] == "detail") { value="= $timerecordingcars->number_plate ?>"/> +||||||||||||||
| Kennzeichen | +Fahrzeugverwalter | Marke | Model/Typ | Erstzulassssung | @@ -58,6 +59,7 @@+ | $timerecordingcar->id]) ?>"> = $timerecordingcar->number_plate ?> | += ($timerecordingcar->user_id) ? $timerecordingcar->user->name : "-" ?> | = $timerecordingcar->brand ?> | = $timerecordingcar->model ?> | = ($timerecordingcar->initial_approval) ? date("m/Y", $timerecordingcar->initial_approval) : "-" ?> | @@ -105,9 +108,9 @@