Added owner_address filter to Order/Index

This commit is contained in:
Frank Schubert
2022-04-22 15:29:08 +02:00
parent c747a41d48
commit e65cb7a6af
9 changed files with 165 additions and 8 deletions
+5 -1
View File
@@ -72,6 +72,7 @@
<table class="table table-striped table-hover">
<tr>
<th></th>
<th></th>
<th>Netzgebiete</th>
<th>Name</th>
@@ -82,7 +83,7 @@
<th></th>
</tr>
<?php foreach($campaigns as $camp): ?>
<tr>
<tr style="<?=(date('U') >= $camp->from && date('U') <= $camp->to) ? "background-color: #f0fff0" : ""?>">
<td class="text-right">
<?php if(date('U') >= $camp->from && date('U') <= $camp->to): ?>
<span class="fa-stack" title="Vorbestellkampagne aktiv">
@@ -91,6 +92,9 @@
</span>
<?php endif; ?>
</td>
<td class="text-right">
<a class="btn btn-sm btn-outline-primary" href="<?=self::getUrl("Preorder", "add", ["preordercampaign_id" => $camp->id])?>"><i class="fas fa-plus" title="Vorbestellung hinzufügen"></i></a>
</td>
<td><?=$camp->network->name?></td>
<td><?=$camp->name?></td>
<td><?=$camp->area?></td>