Quick Restock QR

Generate scannable QR codes for one-tap supply restock requests.

URL /will/southeast-requestSupply.html?item=Gloves&room=Room3&qty=1
  1. Generate — Pick an item and room. The tool builds a URL with query params.
  2. Print QR — Post the QR code on the supply cabinet, shelf, or room door.
  3. Scan & Submit — Staff scan the QR, the supply form opens pre-filled with the item and location. Tap submit.

URL format

southeast-requestSupply.html?item=Gloves&room=Room3&qty=1box

Required changes to supply form

The requestSupply.js handler reads URLSearchParams on init:

// In SupplyRequestHandler.initialize():
const params = new URLSearchParams(location.search);
if (params.has('item')) {
  this.itemInput.value = params.get('item');
  // trigger autocomplete or set field
}
if (params.has('room')) {
  this.roomInput.value = params.get('room');
}
if (params.has('qty')) {
  this.qtyInput.value = params.get('qty');
}

Files

toolQuickRestock.html   → This page (wireframe)
src/js/quickRestock.js   → QR generation logic (future)
src/js/requestSupply.js  → + param parsing (~6 lines)
public/data/supplyItems.json → Items list (already exists)