added faulty owner view
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
$pagination_baseurl = $this->getUrl($Mod,"Index");
|
||||
$pagination_baseurl_params = ["filter" => $filter];
|
||||
$pagination_entity_name = "Zustimmungserklärungen";
|
||||
|
||||
?>
|
||||
<?php include(realpath(dirname(__FILE__)."/../../$mfLayoutPackage")."/header.php"); ?>
|
||||
|
||||
@@ -184,6 +185,20 @@ $pagination_entity_name = "Zustimmungserklärungen";
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- display card if $hasFaultyEntries is true with danger class and text
|
||||
"ACHTUNG: Dieses Zustimmungserklärungsprojekt enthält fehlerhafte Besitzerdaten. (BUTTON) Hier klicken um fehlerhafte Einträge zu sehen"
|
||||
-->
|
||||
<?php if ($hasFaultyEntries): ?>
|
||||
<div class="card text-center mb-3">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-danger">ACHTUNG: Dieses Zustimmungserklärungsprojekt enthält fehlerhafte Besitzerdaten.</h5>
|
||||
<p class="card-text">
|
||||
<a href="<?=self::getUrl("ConstructionConsent", "FaultyEntries", ["project_id" => $filter["project_id"] ?? ""])?>" class="btn btn-danger mt-2">Hier klicken, um fehlerhafte Einträge zu sehen</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
// if results are more than 0
|
||||
if (count($items) > 0) : ?>
|
||||
|
||||
Reference in New Issue
Block a user