initial_approval); $initialApprovalMonth = date("m", $timerecordingcar->initial_approval); if ($timerecordingcar->override_approval) { $overrideApproval = date("Y-m-d H:i:s", $timerecordingcar->override_approval); $initialApprovalMonth = date("m", $timerecordingcar->override_approval); } $firstApproval = strtotime('+' . $timerecordingcar->first_approval . 'years', strtotime($initialApproval)); if ($firstApproval < time()) { $firstApproval = strtotime(date("Y-$initialApprovalMonth-01", time())); if ($firstApproval < time()) { $firstApproval = strtotime(date("Y-$initialApprovalMonth-01", strtotime('+1 year'))); } } $approval = date("m/Y", $firstApproval); $cartypes = TimerecordingCarModel::$carTypes; if ($timerecordingcar->mileage_now && $timerecordingcar->mileage_timestamp) { $mileagetimestamp = "(" . date("d.m.Y", $timerecordingcar->mileage_timestamp) . ")"; } elseif ($timerecordingcar->mileage_now) { $mileagetimestamp = "(" . date("d.m.Y", $timerecordingcar->edit) . ")"; } else { $mileagetimestamp = ""; } ?>

brand . "/" . $timerecordingcar->model . " (" . $timerecordingcar->number_plate . ")" ?> Detail "> $timerecordingcar->id, 'returnto' => "detail", 'hash' => $_GET['hash']]) ?>">

Fahrzeug Informationen

retired_date): ?>
override_approval) : ?>
Fahrzeugtyp type] ?>
Marke brand ?>
Model/Typ model ?>
Fahrzeugverwalter user_id) ? $timerecordingcar->user->name : "-" ?>
Fahrtenbuch timerecording) ? "Ja" : "Nein" ?>
Erste §57a nach first_approval) ? $timerecordingcar->first_approval . " Jahr(en)" : "-" ?>
Erstzulassung initial_approval) ? date("m/Y", $timerecordingcar->initial_approval) : "-" ?>
§57a Korrektur initial_approval) ? date("m/Y", $timerecordingcar->override_approval) : "-" ?>
Nächste $57a initial_approval) ? $approval : "-" ?>
Serviceintervall service_interval) ?: "-" ?>
Sommerreifen summer_tires) ?: "-" ?>
Winterreifen winter_tires) ?: "-" ?>
Reifen engelagert tires_at) ?: "-" ?>
Motoröl oil_type) ?: "-" ?>
Werkstätte service_station) ?: "-" ?>
Kilometerstand mileage_now) ? $timerecordingcar->mileage_now . " KM" : "-" ?> ' : '' ?>

Dokumente

file_size; if ($filesize < 1024) { $filesize = number_format($filesize, 2) . " B"; } elseif ($filesize < 1024 * 1024) { $filesize = number_format($filesize / 1024, 2) . " KB"; } else { $filesize = number_format($filesize / 1024 / 1024, 2) . " MB"; } $uploadDate = date("d.m.y", $timerecordingcarDokument->file->create); $mimetype = $timerecordingcarDokument->file->mimetype; if (!array_key_exists($mimetype, $mimetypes)) { $mimetype = "fa-file"; } else $mimetype = $mimetypes[$mimetype]; ?>

Journaleintrag

timestamp) ?> (creator->name ?>)
journal) ?>

Fahrtenbuch

Startkilometer Endkilometer Kilometer Fahrer Datum Zeit Ort
mileage_start ?> KM mileage_end ?> KM mileage_end - $timerecording->mileage_start ?> KM user->name ?> start) ?> start) . " - " . date("H:i", $timerecording->end) ?> businesstrip_info ?> $timerecordingcar->id]) ?> $timerecordingcar->id]) ?>