@ -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 >