Need help please!

Hi,
i have problem, when i print the bill the voids products are still in the bill with the price, so with the gift, but they are not sumed en what you have to paid.

when i cancel a product the voucher is printed without the indication canceled.

what’s wrong?

Show an example Print.

Do you want to see Void and Gift Orders listed on the Bill, or do you want to hide them?

Hi, i want to hide the void orders and see the gift orders

this is how a configurate the bill…

[LAYOUT]
-- General layout
<J10>BAR DEL TIO
<XCT>27,112,0,25,250
<T>Cuenta Cliente
<J10>Mesa:{ENTITY NAME:Mesa} - Cliente : {NOTE}
<F>
<L00>Atendido por: {USER NAME}
<L00>Hora:{TIME} Fecha:{TICKET DATE} 
<L00>
{ENTITIES}
<L00>Núm. Ticket:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{SERVICES}
<J10>CUENTA:|{PLAIN TOTAL}
{DISCOUNTS}
[<J10>Total Cortesía:|{ORDER STATE TOTAL:Regalo}]
<J10>TOTAL:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>¡Gracias por su preferencia!

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

[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}

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

[ORDERS]
-- Default format for orders
<J00>{QUANTITY}-{NAME}|{TOTAL PRICE}
{ORDER TAGS}
[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**Cortesía**
{ORDER TAGS}

[ORDERS:Void]
-- Nothing will print for void lines
<J00>- {QUANTITY} {NAME}|**cancelado**
{ORDER TAGS}

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

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

You need to create Order Sections that are specific for the Void and Gift State.

If you don’t want anything to print for Void Orders, then leave that Section empty, like this:

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

So your Full Template would look like this:

[LAYOUT]
-- General layout
<J10>BAR DEL TIO
<XCT>27,112,0,25,250
<T>Cuenta Cliente
<J10>Mesa:{ENTITY NAME:Mesa} - Cliente : {NOTE}
<F>
<L00>Atendido por: {USER NAME}
<L00>Hora:{TIME} Fecha:{TICKET DATE} 
<L00>
{ENTITIES}
<L00>Núm. Ticket:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{SERVICES}
<J10>CUENTA:|{PLAIN TOTAL}
{DISCOUNTS}
[<J10>Total Cortesía:|{ORDER STATE TOTAL:Regalo}]
<J10>TOTAL:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>¡Gracias por su preferencia!

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

[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}

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

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

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

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

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

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

i already try it but it did not result,
in the bill stil is the void product!

for example
in this bill the barley wine was void and the stout was a gift.

You can NOT have your Void section like this if you don’t want to see Void Orders:

[ORDERS:Void]
-- Nothing will print for void lines
<J00>- {QUANTITY} {NAME}|**cancelado**
{ORDER TAGS}

You need to remove the last 2 lines, so it looks like this:

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


It might also be that your Void and Gift States are not “Void” and “Gift” … are they different words in your language? Show your States configuration:

i didn’t have the status gift and void.
i just create them.
but it doesn’t work…

Can you show me the rules that you for the action gift and void please?


thank you very much
i get it!

In fact, you don’t really need to define those States unless you want to apply specific formatting to them. I was just trying to see the words that were used for Void and Gift.

And yes, the words in the Rules are important, because they contain Order State Updates. Your different Template Sections for [ORDERS:<state>] must match your Order States that are being set in the Actions in the Rules.

You can (should) leave the States alone (unchanged) in the Actions/Rules, and simply update your Template to match the same words.

Yes, you’re right,
easier like this.
thank you for helping me!