added new custom 300 table

This commit is contained in:
Luca Haid
2025-07-09 15:35:59 +02:00
parent 588cf60bc0
commit 40fcff65f5
4 changed files with 185 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ $pagination_entity_name = "Vorbestellungen";
}
.preorder-campaign-header-buttons {
max-width: 650px;
max-width: 900px;
}
.tr-highlight {
@@ -404,6 +404,17 @@ $pagination_entity_name = "Vorbestellungen";
</div>
</div>
<?php if ($me->isAdmin() || $me->address->id == 209): ?>
<div class="col-sm-12 col-md-2">
<label class="form-label" for="billed">Verrechnet</label>
<select name="filter[billed]" id="filter_billed" class="form-control">
<option value=""></option>
<option value="1" <?=(isset($filter) && array_key_exists("billed", $filter) && strlen($filter['billed']) && intval($filter['billed']) === 0) ? "selected='selected'" : ""?>>Ja</option>
<option value="0" <?=(isset($filter) && array_key_exists("billed", $filter) && intval($filter['billed']) === 1) ? "selected='selected'" : ""?>>Nein</option>
</select>
</div>
<?php endif; ?>
</div>
<div class="row mt-2">
@@ -417,6 +428,9 @@ $pagination_entity_name = "Vorbestellungen";
<?php if(!$me->is("Preorderfront")): ?>
<button type="submit" formaction="<?=self::getUrl("Preorder", "export")?>" id="export-button" class="btn btn-outline-success"><i class="fas fa-download"></i> CSV-Export</button>
<?php endif; ?>
<?php if ($me->isAdmin() || $me->address->id == 209): ?>
<a href="<?=self::getUrl("Preorder", "custom300")?>" class="btn btn-outline-info"><i class="fas fa-envelope"></i> Custom-300 Benachrichtigungen</a>
<?php endif; ?>
<div class="dropdown">
<button class="btn btn-outline-primary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">