Guesthouse cleaning supervisor - guest-amenities calculator tool - an offline single-file page that rolls days-of-remaining and reorder points for toothbrushes, slippers, and toilet paper against occupied-night forecasts; first run forces a calibration mode where the supervisor measures their own usage standards, because the tool ships with zero industry-average defaults
Build me a ready-to-use single-file web tool
(HTML with inline CSS/JS, opens by double-click,
runs offline, no accounts, zero network requests)
for guesthouse amenity stock calculation and
reorder alerts.
First run: forced calibration mode (no skipping)
- List the items to calibrate (editable):
toothbrushes / combs / slippers / razors /
soap / shampoo and body wash / toilet paper /
facial tissue / bottled water / tea and
coffee / cup sleeves
- For each item the user enters two measured
numbers:
Usage per occupied night = item consumed
over the last N days / occupied nights in
the same period (N chosen by the user)
Stayover reduction rule = which items are
not restocked daily for stayover guests,
and on what cycle
- No default usage figures exist anywhere in
the tool; uncalibrated items display
"uncalibrated" on the main screen and are
excluded from computation
Main screen:
- Stock entry: current count per item plus
last delivery date
- Occupancy forecast entry: occupied nights
per day for the next N days (default 14,
adjustable), entered in two columns -
confirmed bookings and my walk-in
assumption - summed at compute time
- Supplier terms entry: delivery lead time
in days per item, and minimum order
quantity
Computation and output:
- Rolling daily per item: days of stock
remaining = count / (per-night usage x
that day's occupancy), with the stayover
reduction applied
- Reorder trigger: days remaining <= lead
time + safety days (default 3, adjustable)
- fires "reorder suggested," with the
order quantity = coverage to the next
replenishment cycle plus safety days,
rounded against the minimum order
- Run-out calendar: which item hits zero
on which day, flagged red
- Days derived from the walk-in assumption
carry an "includes assumption" note
Hard requirements:
- Ship with no "industry average usage" or
"rules of thumb" presets - leave blanks
waiting for calibration; provide no
fabricated starting points
- Data lives in page memory plus an
exportable CSV; refresh clears; export
filenames carry the date
- Every change to calibration values and
stock leaves an audit line: what date,
from what number to what number
- Gaps report facts only (which item zeroes
on which day) - no "consider improving
stock management" advice
Why it is written this way
Forced calibration is the tool's soul. Sibling tools love to ship "industry average of 1.2 toothbrushes per night" defaults - but room mix, guest mix, and restock rules differ per property, and a default-derived reorder point looks professional while being entirely error: a resort and a business guesthouse can differ twofold on bottled water alone. Measuring this property's own last-week consumption against occupied nights costs two minutes and yields a number that actually belongs to the house; the tool would rather block with "uncalibrated" than hand over a fabricated head start.
The reorder line - lead time plus safety days - is what turns "lead time" into arithmetic. Most stockout accidents stem not from skipping stocktakes but from stocktaking while supplies still "look fine": ten days of toilet paper reads as unremarkable on the weekly count, and only subtracting an eight-day lead time exposes the two-day margin. The rolling count gives every item a days-remaining number every day; the moment it touches the trigger line, the order fires - dependent on nobody's memory. That is the one thing the tool needs to be better than a spreadsheet at, and it is.
Splitting confirmed bookings from walk-in assumptions is an honesty requirement for the forecast. Blended, the output looks equally authoritative while resting half on guesswork - the guess runs high in optimism, low after a slow week, and orders follow the mood. Split, the assumption-based days wear their label, and the supervisor can see which urgency is real and which order is a hunch; only a forecast labeled honestly is safe to spend money against.
Memory-plus-export with an audit trail matches the reconciliation tool's design discipline: the cleaning-office computer should hold nothing that needs a backup before it can be deleted safely. The audit lines serve a second purpose - when month-end consumption won't reconcile, they answer who changed which usage standard on which day. Without them the calibration is a black number nobody can explain.
Variables
| Variable | Description |
|---|---|
| Calibration window N | Default 7 days; recalibrate after each season change (measure each season once) |
| Safety days | Default 3; raise where the supplier is unreliable |
| Item list | Match the property's actual amenity set - aligned item-for-item with purchasing |