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:
parent
6c41dedd5d
commit
c6767eb2c4
1 changed files with 4 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Reference in a new issue