WIP Preorderlogistics

This commit is contained in:
Frank Schubert
2023-11-08 16:47:50 +01:00
parent 5c3ad83bc2
commit 36c6036ed9
2 changed files with 9 additions and 1 deletions

View File

@@ -88,6 +88,8 @@
<table class="table table-striped table-hover">
<tr>
<th></th>
<th></th>
<th>Bestelltyp<br />Bestellcode</th>
<th>OAID</th>
<th>Anschlussadresse</th>
@@ -97,10 +99,13 @@
</tr>
<?php foreach($preorders as $preorder): ?>
<tr class="preorder-list-tr" id="preorder-<?=$preorder->id?>">
<td><button type="button" class="btn btn-sm btn-success" onclick="printShippingSlip(<?=$preorder->id?>)">Versandetikett und<br />Beipackzettel drucken</button> </td>
<td>
<label>Versandt <i class="fas fa-check text-success hidden"></i><input type="checkbox" class="form-control pointer" name="sent" value="1" id="sent-<?=$preorder->id?>" /></label>
</td>
<td>
<?=__($preorder->type, "preorder")?><br />
<?=$preorder->ucode?><br />
</td>
<td class="text-pink"><span><?=$preorder->oaid?></span></td>
<?php if($preorder->building_id): ?>

View File

@@ -14,6 +14,9 @@ class DashboardController extends mfBaseController {
if($this->me->is("preorderfront")) {
$this->redirect("Preorder");
}
if($this->me->is("Preorderlogistics")) {
$this->redirect("Preorderlogistics");
}
$newss = NewsModel::getAll();
$this->layout()->set("newss", $newss);