upgrade exception now for ewerk goesting too

This commit is contained in:
Frank Schubert
2024-08-01 13:54:44 +02:00
parent 7085b1b7b3
commit dd6f8c0dc2
2 changed files with 3 additions and 3 deletions

View File

@@ -544,7 +544,7 @@
<h4>Produkte</h4>
<div class="row col-12 mt-2 mb-2">
<?php if($me->address_id == 209): ?>
<?php if($me->address_id == 209 || $me->address_id == 2227): ?>
<label><input type="checkbox" class="input-check" name="upgrade" value="1" <?=($order->upgrade) ? "checked='checked'" : ""?> /> Bestellung ist Upgrade</label>
<?php else: ?>
<p class="alert alert-warning">

View File

@@ -143,7 +143,7 @@
<div class="col-12">
<div class="float-right">
<a class="btn btn-lg btn-primary mb-2" href="<?=self::getUrl("Order", "add")?>"><i class="fas fa-fw fa-square-plus "></i> Neue Bestellung anlegen</a>
<?php if($me->address_id != 209): ?>
<?php if($me->address_id != 209 && $me->address_id != 2227): ?>
<a class="btn btn-lg btn-purple mb-2 ml-2" href="<?=self::getUrl("Order", "addUpgrade")?>"><i class="fas fa-fw fa-square-up "></i> Upgrade eingeben</a>
<?php endif; ?>
</div>
@@ -181,7 +181,7 @@
<?php endif; ?>
</a>
</li>
<?php if($me->address_id != 209): ?>
<?php if($me->address_id != 209 && $me->address_id != 2227): ?>
<li class="nav-item">
<a class="nav-link" href="<?=self::getUrl("Order", "Upgrades", ["filter" => $filter])?>">
Upgrades