added new preorderiframe

This commit is contained in:
Luca Haid
2025-06-24 09:41:48 +02:00
parent 40c5cbfcb3
commit 2f1167d4d0
9 changed files with 1264 additions and 4 deletions

View File

@@ -225,7 +225,7 @@
<th>Straße</th>
<th>Hausnr.</th>
<th>Stiege</th>
<th>Wohneinheiten</th>
<th>Homes/<wbr>Preorders</th>
<th>Rimo-ID</th>
<th>Rollout Jahr</th>
<th>Rollout Info</th>
@@ -247,6 +247,12 @@
<td><?=count($address->wohneinheiten)?>
<span class="text-secondary" title="<?=($address->tool_building_type == 0) ? "Unbekannt" : (($address->tool_building_type == 1) ? "EFH" : "MPH")?>">
<i class="fas fa-fw <?=($address->tool_building_type == 0) ? "fa-question" : (($address->tool_building_type == 1) ? "fa-home" : "fa-building")?>"></i>
</span>
<!-- add here PreorderModel::count['adb_hausnummer_id'] with a order like icon on the right here to display the amount of Orders-->
<span class="text-secondary" title="Preorders">
<?=PreorderModel::countActive(['adb_hausnummer_id' => $address->id])?><i class="fas fa-fw fa-shopping-cart"></i>
</span>
</td>
<td><span><?=str_replace('_', '_<wbr>', $address->rimo_id)?></span>
</td>