How to test

  1. Open this page on a laptop or second screen.
  2. On the iPhone (Safari, HTTPS), open /index.php, sign in (auto-bypassed in demo), and pick a From location.
  3. To scan an SKU: tap 📷 next to the search box, point at one of the SKU barcodes below.
  4. For lot-tracked items, the lot section opens automatically — tap 📷 in a lot row and scan one of the lot barcodes for that item.
  5. Match the location: the SKU must be present at the From location you picked, and the lot must exist at that location too.

Use the format toggle below to render all barcodes as Code 128 (1D), QR Code (2D), or Data Matrix (2D). The decoded value is the same in every format — only the visual encoding changes. You can also print this page for offline testing.

Format:

SKU barcodes

BATCH-FOOD
Batch Food Pack (lot)
LOT
GADGET-PRO
Gadget Pro Assembly
PHARMA-X
Pharma X 100mg (lot)
LOT
PHARMA-Y
Pharma Y 50mg (lot)
LOT
WIDGET-A
Standard Widget
WIDGET-B
Premium Widget

Lot barcodes

PX-2026-001
PHARMA-X
Main Warehouse · qty 200 · exp 2027-06-30
PX-2026-002
PHARMA-X
Main Warehouse · qty 150 · exp 2027-09-30
PX-2026-003
PHARMA-X
Main Warehouse · qty 150 · exp 2027-12-31
PX-2025-099
PHARMA-X
Retail Store — Downtown · qty 100 · exp 2026-12-31
PY-2026-A1
PHARMA-Y
Main Warehouse · qty 300 · exp 2028-03-31
BF-12345
BATCH-FOOD
Main Warehouse · qty 100
BF-12346
BATCH-FOOD
Main Warehouse · qty 50
BF-11999
BATCH-FOOD
Retail Store — Downtown · qty 50 · exp 2026-08-15