Printing Discounts

I have two discounts setup with my SambaPOS and they work great. I am struggling to print two different Discounts in the same ticket. Printing one discount works properly.

My Discounts are:

  1. Discount Custom–>Discount based on dollars off amount
  2. Discount Custom Percent–>Discount based a percentage off

Ticket printed below has two discounts. First Discount is $2.00 Off, second discount is 50% off.

Chicken Francese  $9.95
***DISCOUNTED   $2.00
Chicken Marsala    $9.95
***DISCOUNTED   $4.98

I am not sure if this is possible. Thank you for your help.

[LAYOUT]
-- General layout
<L00>
<L00>
<L00>
<T>Customer Receipt
<L00>

<C10>
<L00>
<C10>Table No: {ENTITY NAME:Table}
<C10>Ticket No: {TICKET NO}
<C10>Server: {USER NAME}
<L10>{ENTITY NAME:Customer}
<DB>
<L00>Date: {TICKET DATE}
<L00>Time: {TIME}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
<J00>Sub-Total:|{PLAIN TOTAL}
<J00>Sales Tax:|{TAX TOTAL}
[<J00>Gratuity | {CALCULATION TOTAL:Gratuity}]
[<J00>Discount Dollars Off|{ORDER TAG TOTAL:Discount Custom}]
[<J00>Discount Percent Off|{ORDER TAG TOTAL:Discount Custom Percent}]
<J00>TOTAL:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>-T H A N K   Y O U-

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}

[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}|{PRICE}
{ORDER TAGS}

[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**GIFT**
{ORDER TAGS}

[ORDERS:Void]
-- Nothing will print for void lines

[ORDER TAGS]
-- Format for order tags
<J00>{ORDER TAG NAME} | {ORDER TAG PRICE} | {ORDER TAG TOTAL:Discount Custom} |{ORDER TAG TOTAL:Discount Custom Percent}


[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

Try using the [conditional brackets] here in this section, making 2 lines instead of 1:

[ORDER TAGS]
-- Format for order tags
[<J00>{ORDER TAG NAME} | {ORDER TAG PRICE} | {ORDER TAG TOTAL:Discount Custom}]
[<J00>{ORDER TAG NAME} | {ORDER TAG PRICE} | {ORDER TAG TOTAL:Discount Custom Percent}]

Hi @QMcKay

I added conditional brackets and made it two lines, but now it does not print discount tags.

See below new output.

Thank you very much for your generous help in this forum.