Zeiterfassung Update

* Fix für BPA stunden Rückgängig
This commit is contained in:
Spi
2024-05-07 16:00:21 +02:00
parent a7bc1ff8a6
commit 1294281b3d
4 changed files with 11 additions and 10 deletions
+5 -3
View File
@@ -33,6 +33,8 @@ for ($i = 1; $i <= 12; $i++) {
$years[time() + 31536000] = date('Y', time() + 31536000);
$years[time()] = date('Y', time());
$years[time() - 31536000] = date('Y', time() - 31536000);
$closedmonth = strtotime("01." . $timerecordingBilling->month);
$mindate = date("Y-m-d", strtotime("+ 1 Month", $closedmonth));
?>
<link href="<?= self::getResourcePath() ?>assets/css/select2-cstm.css?<?= date('U') ?>" rel="stylesheet"
@@ -89,8 +91,8 @@ $years[time() - 31536000] = date('Y', time() - 31536000);
.form-check-label {
margin-top: 2px;
}
.holiday-text
{
.holiday-text {
color: #d70000;
}
@@ -142,7 +144,7 @@ $years[time() - 31536000] = date('Y', time() - 31536000);
<label class="col-form-label" for="date">Datum</label>
<div class="form-row">
<div class="col">
<input type="date" id="date" name="date" class="form-control "
<input type="date" min="<?= $mindate ?>" id="date" name="date" class="form-control "
value="<?= date("Y-m-d", time()) ?>"
placeholder="<?= date("d.m.Y", time()); ?>" required="required"/>
</div>