Added linwork_doku_delay

This commit is contained in:
Frank Schubert
2022-03-08 21:22:09 +01:00
parent 80e98d4a89
commit 8e1fb1243a
4 changed files with 46 additions and 6 deletions
+22 -1
View File
@@ -73,7 +73,17 @@
<?php endforeach; ?>
</select>
</div>
<?php if($me->is(["Admin", "netowner"])): ?>
<div class="col-2">
<label class="form-label" for="filter_linework_doku_delay">Dokuaufschub</label>
<select name="filter[linework_doku_delay]" id="filter_linework_doku_delay" class="form-control">
<option value="0">Ausblenden</option>
<option value="1" <?=($filter['linework_doku_delay'] == 1) ? "selected='selected'" : ""?>>Anzeigen</option>
</select>
</div>
<?php endif; ?>
<div class="col-1">
<label class="form-label" for="filter_code">Objekt ID</label>
<input type="text" class="form-control" name="filter[code]" id="filter_code" value="<?=$filter['code']?>" />
@@ -235,6 +245,17 @@
<strong><?=$term->phone?></strong><br />
<?=$term->email?>
</div>
<?php if($me->is("Admin", "netowner")): ?>
<div class="mt-3">
<label <?=(!$term->building->lineworker_id) ? "class='text-danger' title='Keine Leitungsbaufirma ausgewählt'" : ""?>>
<input type="checkbox" form="wf-termination-<?=$term->id?>" name="linework_doku_delay" value="1"
<?=($term->linework_doku_delay == 1) ? "checked='checked'" : ""?>
>
Doku-Aufschub
</label>
</div>
<?php endif; ?>
<div class="mt-3">
<label <?=(!$term->building->lineworker_id) ? "class='text-danger' title='Keine Leitungsbaufirma ausgewählt'" : ""?>>
<input type="checkbox" form="wf-termination-<?=$term->id?>" name="linework_enabled" value="1"