diff --git a/pages/printlabel.php b/pages/printlabel.php index 92083de..74e5863 100644 --- a/pages/printlabel.php +++ b/pages/printlabel.php @@ -26,9 +26,12 @@ if (!empty($VARS["labeltype"])) { case "doortag": $labeltype = "doortag"; break; - case "machineidanonymous": - $labeltype = "machineidanonymous"; - break; + case "machineidanonymous": + $labeltype = "machineidanonymous"; + break; + case "pickupslip": + $labeltype = "pickupslip"; + break; case "machineid": default: $labeltype = "machineid"; @@ -40,17 +43,20 @@ $pdfurl = "./print/print.php?labeltype=$labeltype&id=$machineid"; ?>
- +
get("Go to machine"); ?>
diff --git a/print/print.php b/print/print.php index 32541e9..5f851db 100644 --- a/print/print.php +++ b/print/print.php @@ -30,8 +30,11 @@ switch ($VARS["labeltype"]) { $labeltype = "doortag"; break; case "machineidanonymous": - $labeltype = "machineidanonymous"; - break; + $labeltype = "machineidanonymous"; + break; + case "pickupslip": + $labeltype = "pickupslip"; + break; case "machineid": default: $labeltype = "machineid"; diff --git a/print/templates/pickupslip.glabels b/print/templates/pickupslip.glabels new file mode 100644 index 0000000..25c26a0 Binary files /dev/null and b/print/templates/pickupslip.glabels differ