Added pipe-/linework enabled date and by
This commit is contained in:
@@ -156,6 +156,13 @@
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
<label <?=(!$building->pipeworker_id) ? "class='text-danger' title='Keine Tiefbaufirma ausgewählt'" : ""?>><input type="checkbox" form="wf-building-<?=$building->id?>" name="pipework_enabled" value="1" <?=($building->pipework_enabled==1) ? "checked='checked'" : ""?> <?=(!$building->pipeworker_id || !$me->is(["Admin", "pipeplanner"])) ? "disabled='disabled'" : ""?>> Baufreigabe</label>
|
||||
<?php if($building->pipework_enabled): ?>
|
||||
<div style="overflow-x:hidden">
|
||||
<small class="text-info text-mono"
|
||||
title="Geändert: <?=date("d.m.Y H:i",$building->pipework_enabled_date)?> von <?=$building->pipework_enabler->name?> (<?=$building->pipework_enabler->address->getCompanyOrName(true)?>)"
|
||||
><?=$building->pipework_enabler->getAbbrName()?></small>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
<button type="button" class="btn btn-primary" form="wf-building-<?=$building->id?>" onclick="document.getElementById(this.getAttribute('form')).submit()">Speichern</button>
|
||||
|
||||
Reference in New Issue
Block a user