{% if isPrintBillInformation %}

Subtotal ${{ priceDetail.subtotal }}

{% if priceDetail.discount not null %}

Discount -${{ priceDetail.discount }}

{% endif %} {% for fees in priceDetail.taxableFeeList %} {% if fees.paymentId not null %} {% else %}

{{ fees.name }} ${{ fees.amount }}

{% endif %} {% endfor %} {% if priceDetail.taxes %} {% for tax in priceDetail.taxes %}

{{ tax.name }} ${{ tax.amount }}

{% endfor %} {% elseif priceDetail.tax %}

Tax ${{ priceDetail.tax }}

{% endif %} {% for fees in priceDetail.nonTaxableFeeList %} {% if fees.paymentId not null %} {% else %}

{{ fees.name }} ${{ fees.amount }}

{% endif %} {% endfor %} {% if not isSplitByDishes %}

Bill Total ${{ priceDetail.billTotal }}

{% endif %} {% if creditCardFee not null %}

{{ creditCardFeeName }} ${{ creditCardFee }}

{% endif %} {% if isSplitByPayments %}

Split by Amount ${{ payment.amount }}

{% endif %} {% if payment.tips not null %} {% if payment.tips != "0.00" %}

Tips ${{ payment.tips }}

{% endif %} {% endif %} {% if payment.rounding not null %} {% if payment.rounding != "$0.00" %}

Cash Rounding {{ payment.rounding }}

{% endif %} {% endif %} {% if paymentTotal not null %}

Payment Total ${{ paymentTotal }}

{% if isTotalRefunded %}

Refund -${{ payment.totalRefunded }}

Final Total ${{ paymentFinalTotal }}

{% endif %} {% endif %} {% for payment in payments %}

{{ payment.name }} -${{ payment.amount }}

{% endfor %} {% if remainingBalance not null %}

Remaining Balance {{ remainingBalance }}

{% endif %} {% if splitTotal %}

Split Total {{ splitTotal }}

{% endif %} {% if splitTotal == null %}

{% elseif showTextWhenCreditFeeApply == false %}

{% elseif autoFee == null %}

{% endif %} {% if priceDetail.isOnline %} {% if priceDetail.total != priceDetail.billTotal %} {% for fees in priceDetail.groupedCardFees %}

{{ fees.name }} ${{ fees.amount }}

{% endfor %} {% if priceDetail.tips not null %}

{% if priceDetail.serviceTypeRaw == "delivery" %} Delivery Tips {% else %} Service Tips {% endif %} ${{ priceDetail.tips }}

{% endif %}

Order Total ${{ priceDetail.total }}

{% endif %} {% endif %} {% endif %} {% if promotionName %}

{{promotionName}} applied

{% else %} {% if priceDetail.discount not null %} {% if isPrintBillInformation %}
{% endif %}

You saved ${{ priceDetail.discount }} today!

{% endif %} {% endif %} {% if showTextWhenCreditFeeApply %} {% if autoFee not null %}
{% if autoFeeThreshold == '0' %}

*A {{ autoFee }} surcharge will be applied to credit card payments

{% else %}

*A {{ autoFee }} surcharge will be applied to credit card payments less than ${{ autoFeeThreshold }}

{% endif %} {% endif %} {% endif %} {% if config.needConfirmOpenPrice %}

{{config.needConfirmOpenPriceText1}}

{{config.needConfirmOpenPriceText2}}

{% endif %} {% if displayTotalsForCashAndCard %} {% if creditCardTotal not null %} {% if priceDetail.discount not null %}
{% endif %}

Credit Card Total {{ creditCardTotal }}

Non-Credit Card Total {% if splitTotal %}{{ splitTotal }}{% else %}${{ priceDetail.billTotal }}{% endif %}

{% endif %} {% endif %} {% if payment not null %} {% if priceDetail.discount not null %}
{% elseif payment.isCommonPay %} {% if isPrintBillInformation %}
{% endif %} {% endif %} {% endif %}