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:
parent
d80d4bd4c4
commit
800471f249
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@
|
||||||
INNER JOIN OrderLineItems oli ON oli.OrderID = o.ID
|
INNER JOIN OrderLineItems oli ON oli.OrderID = o.ID
|
||||||
INNER JOIN Items i ON i.ID = oli.ItemID
|
INNER JOIN Items i ON i.ID = oli.ItemID
|
||||||
WHERE #whereSQL#
|
WHERE #whereSQL#
|
||||||
AND i.StationID = ?
|
AND (i.StationID = ? OR i.StationID IS NULL)
|
||||||
AND oli.IsDeleted = b'0'
|
AND oli.IsDeleted = b'0'
|
||||||
ORDER BY SubmittedOn ASC, o.ID ASC
|
ORDER BY SubmittedOn ASC, o.ID ASC
|
||||||
", stationParams, { datasource = "payfrit" })>
|
", stationParams, { datasource = "payfrit" })>
|
||||||
|
|
|
||||||
Reference in a new issue