OAIDs can be released now

This commit is contained in:
Frank Schubert
2025-05-16 14:54:21 +02:00
parent a3822abfad
commit 0f00c493f1
8 changed files with 95 additions and 30 deletions
+7 -2
View File
@@ -122,8 +122,8 @@
<th>Herkunft</th>
<th>Besitzer</th>
<th colspan="2" title="Anzahl ADB Wohneinheiten">Zugewiesen</th>
<th>Exportiert</th>
<th></th>
<th>Exportiert</th>
<th></th>
</tr>
<?php foreach($oaids as $oaid): ?>
@@ -136,6 +136,7 @@
<td><?=$oaid->owner->getCompanyOrName()?></td>
<td class="text-right <?=($oaid->adb_wohneinheit_count > 1 || $oaid->adb_wohneinheit_id && $oaid->adb_wohneinheit_count < 1) ? "text-danger" : ""?>">
<?=($oaid->adb_wohneinheit_id) ? $oaid->adb_wohneinheit_count."x" : ""?>
<a class="ml-2" href="<?=self::getUrl("OpenAccessId", "release", ["id" => $oaid->id])?>" title="OAID freigeben" onclick="if(!confirm('Sind Sie sicher, dass die OAID von Wohneinheit, Preorder und Rimo-FTU entfernt werden soll?')) return false;"><i class="far fa-link-slash"></i></a>
</td>
<td>
<?php if($oaid->termination_id): ?>
@@ -151,7 +152,11 @@
<?=((string)$oaid->adb_wohneinheit) ? " - ".(string)$oaid->adb_wohneinheit : ""?>
<?php endif; ?>
</td>
<td><?=($oaid->assigned) ? date("d.m.Y H:i",$oaid->assigned) : ""?></td>
<td>
<?php if($oaid->assigned): ?>
<?=date("d.m.Y H:i",$oaid->assigned)?>
<?php endif; ?>
</td>
<td>
<?php if($oaid->exported_to): ?>
[<?=$oaid->exported_to?>]