Merge branch 'fronkdev' into 'master'

Added admin-button to remove OAID from Wohneinheit

See merge request fronk/thetool!1434
This commit is contained in:
Frank Schubert
2025-06-11 09:00:06 +00:00
2 changed files with 30 additions and 0 deletions

View File

@@ -177,6 +177,10 @@
<?php else: ?>
<?=$unit->oaid?>
<?php endif; ?>
<?php if($me->is("Admin")): ?>
<a class="text-danger ml-2" href="<?=self::getUrl("ADBWohneinheit", "removeOaid", ["id" => $unit->id])?>" title="OAID von Wohneinheit entfernen" onclick="if(!confirm('OAID wirklich ungeprüft von der Wohneinheit entfernen?')) return false;"><i class="fas fa-trash-can"></i></a>
<?php endif; ?>
<?php endif; ?>
</td>
<td id="unit-<?=$unit->id?>-status" class="text-monospace">