added new export for buildings

This commit is contained in:
Luca Haid
2025-04-23 10:32:39 +02:00
parent a9918eb229
commit c95a835820
2 changed files with 102 additions and 1 deletions
+4
View File
@@ -94,6 +94,10 @@
<div class="col">
<button type="submit" class="btn btn-primary">Filter anwenden</button>
<a class="btn btn-secondary" href="<?=self::getUrl("Building")?>">Filter zurücksetzen</a>
<?php if ($me->isAdmin() && is_array($filter) && array_key_exists("network_id", $filter) && !empty($filter["network_id"])): ?>
<a class="btn btn-outline-success" href="<?=self::getUrl("Building", "exportXLSX", ["network_id" => ($filter["network_id"])])?>">
<i class="fas fa-file-excel"></i> Exportieren</a>
<?php endif; ?>
</div>
<!--<div class="col">
<button class="btn btn-info" type="button" onclick="refreshMap()"><i class="far fa-map"></i> Auf Karte anzeigen</button>