KDS: show all selected modifiers including defaults

Was filtering out IsCheckedByDefault modifiers, which hid all
toppings/options on orders where the customer kept the defaults
(e.g. Bay Cities sandwiches). Inverted groups still handled
separately with "NO" prefix for removed defaults.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-03-11 16:57:17 -07:00
parent 6c41dedd5d
commit c6767eb2c4

View file

@ -418,8 +418,10 @@ function renderAllModifiers(modifiers, allItems) {
return;
}
// Skip default modifiers - only show customizations
if (mod.IsCheckedByDefault) return;
// Skip default modifiers only inside non-inverted groups
// (Inverted groups are already handled above with "NO" prefix)
// For regular groups, show all selected modifiers including defaults
const children = allItems.filter(item => item.ParentOrderLineItemID === mod.OrderLineItemID);
if (children.length === 0) {