eltio
June 29, 2017, 4:08pm
1
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?
QMcKay
June 29, 2017, 4:29pm
2
Show an example Print.
Do you want to see Void and Gift Orders listed on the Bill, or do you want to hide them?
eltio
June 29, 2017, 4:30pm
3
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}
QMcKay
June 29, 2017, 4:35pm
4
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}
eltio
June 29, 2017, 4:37pm
5
i already try it but it did not result,
in the bill stil is the void product!
eltio
June 29, 2017, 4:40pm
6
for example
in this bill the barley wine was void and the stout was a gift.
QMcKay
June 29, 2017, 4:44pm
7
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:
eltio
June 29, 2017, 5:00pm
8
i didn’t have the status gift and void.
i just create them.
but it doesn’t work…
eltio
June 29, 2017, 5:19pm
9
Can you show me the rules that you for the action gift and void please?
eltio
June 29, 2017, 5:38pm
11
thank you very much
i get it!
QMcKay
June 29, 2017, 5:45pm
12
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.
eltio
June 29, 2017, 5:59pm
13
Yes, you’re right,
easier like this.
thank you for helping me!