From 0a252e656902a9023566a0dff6f3923742afedec Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Sun, 8 Mar 2026 11:00:43 -0700 Subject: [PATCH] KDS: show Start Preparing for new orders in station view Previously station-filtered view skipped the acknowledge step and went straight to "Mark Station Done" for new orders. Now new orders show "Start Preparing" first, then "Mark Station Done" once preparing. Co-Authored-By: Claude Opus 4.6 --- kds/index.html | 2 +- kds/kds.js | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/kds/index.html b/kds/index.html index 441fb35..bbe957d 100644 --- a/kds/index.html +++ b/kds/index.html @@ -130,6 +130,6 @@ - + \ No newline at end of file diff --git a/kds/kds.js b/kds/kds.js index c58beb9..65a7893 100644 --- a/kds/kds.js +++ b/kds/kds.js @@ -449,8 +449,11 @@ function renderActionButtons(order) { const isFiltering = config.stationId && config.stationId > 0; if (isFiltering) { - // Station worker view: per-station "Done" button - if (order.StatusID === STATUS.NEW || order.StatusID === STATUS.PREPARING) { + // Station worker view: acknowledge new orders, then mark station done + if (order.StatusID === STATUS.NEW) { + return ``; + } + if (order.StatusID === STATUS.PREPARING) { if (isStationDoneForOrder(order)) { return ``; } else {