Merge branch 'spidev' into 'master'
Zeiterfassung Update See merge request fronk/thetool!356
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user