Zeiterfassungs Update
* Implementerung Fahrzeugverwaltung * neue Buchungsart Fahrtenbuch * Diverse Bugfixes
This commit is contained in:
@@ -13,7 +13,6 @@ $monthger[10] = "Oktober";
|
||||
$monthger[11] = "November";
|
||||
$monthger[12] = "Dezember";
|
||||
$time = time();
|
||||
|
||||
for ($i = 1; $i <= 25; $i++) {
|
||||
$kw = date('W', $time);
|
||||
$year = date('Y', $time);
|
||||
@@ -196,7 +195,7 @@ $years[time() - 31536000] = date('Y', time() - 31536000);
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-2 mb-2 businesstrip-div">
|
||||
<div class="col-lg-2 mb-2 businesstrip-div businesstrip-check-div ">
|
||||
|
||||
<div class="form-check text-center mt-1">
|
||||
<input class="form-check-input" type="checkbox" name="businesstrip"
|
||||
@@ -211,6 +210,30 @@ $years[time() - 31536000] = date('Y', time() - 31536000);
|
||||
placeholder="Ort"
|
||||
class="form-control"/>
|
||||
</div>
|
||||
<div class="col-lg-2 car-div car-div-car" style="display:none">
|
||||
|
||||
<select id="timerecordingCar_id" name="timerecordingCar_id"
|
||||
class="select2 form-control">
|
||||
<option value="">Auto auswählen</option>
|
||||
<?php foreach ($timerecordingCars as $timerecordingCar): ?>
|
||||
|
||||
<option value="<?= $timerecordingCar->id ?>"
|
||||
data-mileagenow="<?= $timerecordingCar->mileage_now ?>"><?= $timerecordingCar->number_plate . " (" . $timerecordingCar->brand." ".$timerecordingCar->model . ")" ?></option>
|
||||
</option>
|
||||
<?php
|
||||
endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-lg-1 car-div " style="display:none">
|
||||
<input style="" type="number" id="mileage_start" name="mileage_start"
|
||||
placeholder="KM Start"
|
||||
class="form-control"/>
|
||||
</div>
|
||||
<div class="col-lg-1 car-div" style="display:none">
|
||||
<input style="" type="number" id="mileage_end" name="mileage_end"
|
||||
placeholder="KM Ende"
|
||||
class="form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" row mt-2">
|
||||
<div class="col-lg-3 ">
|
||||
|
||||
Reference in New Issue
Block a user