Merge branch 'fronkdev' into 'master'

Fixed ConstructionConsentOwner sums

See merge request fronk/thetool!958
This commit is contained in:
Frank Schubert
2025-01-29 13:07:32 +00:00
2 changed files with 3 additions and 2 deletions

View File

@@ -136,8 +136,8 @@ $pagination_entity_name = "Zustimmungserklärungen";
Email: <?=$item->email?>
<?php endif; ?>
</td>
<td><?=$item->status?></td>
<td><?=$item->result?></td>
<td><?=($item->status) ? __($item->status,"consent") : ""?></td>
<td><?=($item->result) ? __($item->result,"consent") : ""?></td>
<td style="text-align: left; letter-spacing: 4px; font-size: 1.1em;">
<a href="<?=self::getUrl("ConstructionConsent", "view", ["id" => $item->id])?>"><i class="far fa-eyes" title="Anzeigen"></i></a>
<?php if(!$item->result): ?>

View File

@@ -268,6 +268,7 @@ $pagination_entity_name = "Adressen";
<h5>Zusammenfassung Ergebnis (von <?=count($item->owners)?>)</h5>
<table class="table table-sm">
<?php foreach($item->owner_result_counts as $type => $count): ?>
<?php if(!$type) return false; ?>
<tr>
<th><?=__($type,"consent")?></th>
<td><?=$count?></td>