Expand description
§pispas_order_kitchen — kitchen display server
Standalone HTTP server (actix-web) that a kitchen display (a browser on
a cheap Android tablet, typically) points to. Each active order is
represented by a Pedido (canal, numero, estado =
en_preparacion / listo / recogido) and the list persists to
comandas.json so restarts don’t lose state.
Orders arrive via POST from the order_kitchen module inside
pispas_modules when a ticket
with kitchen-bound items is rung up. The display polls this server and
shows pending / ready orders on a TV.
pispas-modules --POST pedido--> pispas_order_kitchen.exe
|
| GET list
v
kitchen display (browser)This binary runs on the same machine as pispas-modules and is
orchestrated by the service; end users never launch it manually.
Structs§
- AppState 🔒
- Modo
Config 🔒 - Pedido 🔒
- Pedido
Request 🔒 - archivar
- cocina
- get_
modo - get_
pedidos - index
- marcar_
preparado - set_
modo - set_
pedido
Constants§
- COMANDAS_
FILE 🔒 - FAVICON_
ICO 🔒 - INDEX_
HTML 🔒 - KITCHEN_
HTML 🔒 - LOGO_
DARK_ 🔒PNG - LOGO_
WHITE_ 🔒PNG - ORDER_
KITCHEN_ LOG