WIP Preorderlogistics
This commit is contained in:
@@ -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): ?>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user