StealThis .dev

Hotel Inventory & Allotment

An inventory and allotment grid for Aurelia Hotels showing room types × dates with available/sold room counts, stop-sell flags, and low-availability colour warnings. Adjust allotment per cell with steppers, toggle stop-sell, filter by room type, and watch the summary bar update in real time.

Lab에서 열기
html css vanilla-js
Targets: JS HTML

Code

Hotel Inventory & Allotment

A full-screen inventory-management console for Aurelia Hotels, sharing the navy-and-gold visual language of the rate-management grid. Rows are room types; columns are a 14-day date window. Each cell displays total allotment, rooms sold, and rooms still available — with amber and red tint warnings when availability drops below 3 or 1. Use the +/− stepper buttons on any cell to raise or lower allotment, or click the stop-sell toggle (S) to halt sales for that cell, which dims it and blocks the counter. A room-type filter at the top narrows the visible rows. The persistent summary footer always shows total available rooms, total sold, and active stop-sells across all visible cells.