{% if config.isPrintOrderNote %} {% if order.note not null %}
ORDER NOTE:{{order.note}}
{% endif %} {% endif %} {% for meal in meals %} {% if meal.groupSeatName not null %}{{meal.groupSeatName}}
{% endif %} {% if autoTagDishes == false %} {% if meal.showTagDivider %}{% endif %} {% endif %}
{% if meal.isLineItemMealSplit %} {{meal.ratio}} {% endif %} {{meal.quantity}} {% if config.printEn %} {% if config.newLinePrintCn %} {{meal.name}} {% else %} {{meal.name}}{{meal.description}} {% endif %} {% else %} {{meal.foreignName}}{{meal.description}} {% endif %} {% if config.isPrintPrice %} {% if meal.isPrintPrice %} {% if meal.needConfirmOpenPrice %} MP {% else %} ${{meal.subtotal}} {% endif %} {% endif %} {% endif %}
{% if config.newLinePrintCn %} {% if meal.name != meal.foreignName %}{{meal.foreignName}}{{meal.description}}
{% endif %} {% endif %} {% if meal.printUnitPrice not null %}{{meal.printUnitPrice}}
{% endif %} {% if meal.isTakeOut %}{{meal.takeOutText}}
{% endif %} {% if order.depositNumber not null %}{{order.depositNumber}}
{% endif %} {% if order.giftCardNo not null %}{{order.giftCardNo}}
{% endif %} {% if config.isPrintDishNote %} {% if meal.note not null %}**Note:{{meal.note}}**
{% endif %} {% endif %} {% if config.isPrintCustomizations %} {% for customization in meal.customizedOptions %}{% if config.isPrintCustomizationQuantity %} {% if customization.quantity != 1 %} {{customization.quantity}}x {% endif %} {% endif %} {% if config.printEn %} {{customization.name}} {% else %} {{customization.foreignName}} {% endif %} {% if config.isPrintCustomizationPrice %} {% if customization.isPrintPrice %} ${{customization.amount}} {% endif %} {% endif %}
{% if config.newLinePrintCn %} {% if customization.name|lower != customization.foreignName|lower %}{{customization.foreignName}}
{% endif %} {% endif %} {% if config.isPrintDishNote %} {% if customization.note not null %}**Note:{{customization.note}}**
{% endif %} {% endif %} {% if customization.selectedPreferenceOptions not null %} {% for preferenceOption in customization.selectedPreferenceOptions %}{% if config.printEn %} {{ preferenceOption.name }} {% else %} {{ preferenceOption.foreignName }} {% endif %} {% if config.isPrintCustomizationPrice %} {% if preferenceOption.isPrintPrice %} ${{ preferenceOption.amount }} {% endif %} {% endif %}
{% if config.newLinePrintCn %} {% if preferenceOption.name != preferenceOption.foreignName %}{{ preferenceOption.foreignName }}
{% endif %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %} {% for item in order.discounts %} {% if item.dishItemId == meal.id %}{% if config.printEn %} {{item.name}} {% else %} {{item.foreignName}} {% endif %} -${{meal.preTaxLineItemsDiscount}}
{% endif %} {% endfor %} {% if meal.discountName not null %}{{meal.discountName}} {% if config.isPrintPrice %} {% if meal.isPrintPrice %} -${{meal.preTaxLineItemsDiscount}} {% endif %} {% endif %}
{% endif %} {% if meal.isExcludedFromOrderDiscount %} {% if config.printEn %}Excluded from Order Discount
{% else %}免于整单折扣
{% endif %} {% endif %} {% if config.autoTagDishes %} {% if meal.numberTag not null %}{{meal.numberTag}}
{% endif %} {% endif %} {% endfor %} {% for item in orderLevelDiscounts %}{% if config.printEn %} {{item.name}} {% else %} {{item.foreignName}} {% endif %} -${{item.amountString}}
{% endfor %} {% if showTotalDishQuantity %}{% if config.printEn %} Total Qty: {{ totalDishQuantity }} {% else %} 数量合计:{{ totalDishQuantity }} {% endif %}