Possible issue with SUBTOTAL in printer template (4.1.16)

Dear @Emre, I am sure that this did work in 4.1.14 since i use it a lot. We have two types of sales, one with tax (10%) in tables and one without tax (balcony). In the table sale including the 10% the ticket prints great, but in the non taxed sale the ticket printes good, but the SUBTOTAL is NOTHING, not cero.

Please could you check this out?

THANK YOU VERY MUCH!!!

G.

PD I did not change anything in the template. I attach it here:

[LAYOUT]
-- General layout
<ec>
<BMP>C:\Users\gerla_000\Documents\SambaPOS4\Imagenes\Logo_2_BW.bmp
<T>
<EB>
<C00>Pizzaria da Praça
<DB>
<L>
<J00>Data:{TICKET DATE}|Hora:{TIME}
<LF>
{ENTITIES}
<LF>
<F>-
{ORDERS}
<F>=
<EB>
<J00>Sub-Total:|R${PLAIN TOTAL}
{DISCOUNTS}
{TAXES}

<LF>
<J10>Total:|R${TICKET TOTAL}

<DB>
<F>=
<LF>
<C10>Obrigado pela preferença
<LF>
<LF>
<LF>

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

[TAXES]
<LF>
<J00>{TAX NAME} %{TAX RATE}|R${TAX AMOUNT}

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

[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} x {NAME}|R${TOTAL AMOUNT}
{ORDER TAGS}

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

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

[ORDER TAGS]
-- Format for order tags
<J00> * {ORDER TAG NAME} | {ORDER TAG PRICE}

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

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

{PLAIN TOTAL} returns nothing for years :slight_smile: So you’ll be able to hide entire row.

Replace

<J00>Sub-Total:|R${PLAIN TOTAL}

with

[<J00>Sub-Total:|R${PLAIN TOTAL}]

So that row won’t appear at all when Sub Total is zero.

GREAT!!!
THANKS!!!

but I need it to appear, becuase we can have a discount or something…
but i did appear prior to install the last version

G.

I think I misunderstood that part. Can you tell me what do you expect to see and what it displays?

sorry… in this post read SUBTOTAL AS {Plain Total}

it should have the total before taxes and discounts…

Thanks!!!

1 Like

IT WORKS!!! sorry i missunderstood you
with the “[” and the “]” if you add a discount it shows the plain total… sorry and THANK YOU VERY MUCH!!!

G.