KDS: show items with no station assignment in every station filter

Items with NULL StationID now appear in all station views instead of
being hidden when a specific station is selected.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-03-11 12:19:52 -07:00
parent d80d4bd4c4
commit 800471f249

View file

@ -79,7 +79,7 @@
INNER JOIN OrderLineItems oli ON oli.OrderID = o.ID
INNER JOIN Items i ON i.ID = oli.ItemID
WHERE #whereSQL#
AND i.StationID = ?
AND (i.StationID = ? OR i.StationID IS NULL)
AND oli.IsDeleted = b'0'
ORDER BY SubmittedOn ASC, o.ID ASC
", stationParams, { datasource = "payfrit" })>