Add pickup slip

master
Skylar Ittner 4 years ago
parent de11c9c550
commit ba84d2211b

@ -29,6 +29,9 @@ if (!empty($VARS["labeltype"])) {
case "machineidanonymous":
$labeltype = "machineidanonymous";
break;
case "pickupslip":
$labeltype = "pickupslip";
break;
case "machineid":
default:
$labeltype = "machineid";
@ -44,6 +47,9 @@ $pdfurl = "./print/print.php?labeltype=$labeltype&id=$machineid";
<li class="nav-item">
<a class="nav-link<?php echo ($labeltype == "machineid" ? " active" : "") ?>" href="./app.php?page=printlabel&id=<?php echo $machine->getID(); ?>">Machine ID Label</a>
</li>
<li class="nav-item">
<a class="nav-link<?php echo ($labeltype == "pickupslip" ? " active" : "") ?>" href="./app.php?page=printlabel&id=<?php echo $machine->getID(); ?>&labeltype=pickupslip">Pickup Slip</a>
</li>
<li class="nav-item">
<a class="nav-link<?php echo ($labeltype == "doortag" ? " active" : "") ?>" href="./app.php?page=printlabel&id=<?php echo $machine->getID(); ?>&labeltype=doortag">Door Tag</a>
</li>

@ -32,6 +32,9 @@ switch ($VARS["labeltype"]) {
case "machineidanonymous":
$labeltype = "machineidanonymous";
break;
case "pickupslip":
$labeltype = "pickupslip";
break;
case "machineid":
default:
$labeltype = "machineid";

Loading…
Cancel
Save