Zeiterfassung Anpassungen

This commit is contained in:
Spitzer Daniel
2024-01-23 16:34:14 +01:00
parent 5d01cbe6d1
commit 5f26e8ec26
22 changed files with 2005 additions and 190 deletions
+4 -4
View File
@@ -36,17 +36,17 @@
<label class="col-lg-2 col-form-label" for="timestamp">Datum *</label>
<div class="col-lg-3">
<input required="required" type="date" id="timestamp" name="timestamp" class="form-control"
value="<?= date("Y-m-d",$timerecordingholidays->timestamp) ?>"/>
value="<?= ($timerecordingholidays->timestamp) ? date("Y-m-d",$timerecordingholidays->timestamp) : date("Y-m-d",time()) ?>"/>
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="description">Name *</label>
<div class="col-lg-3">
<input required="required" type="text" id="description" name="description" class="form-control"
value="<?= $timerecordingholidays->description ?>"/>
<input required="required" type="text" id="description" name="description" class="form-control"
value="<?= $timerecordingholidays->description ?>"/>
</div>
</div>
</div>
</div>
<div class="form-group row">