Ticket Total Changed Event

@Emre,

I have noticed that the Ticket Total Changed event is not executing when item Quantity changed using + or -

Please also see this post…

(Ticket Total Changed event ) I think it is an important feature. It was so much need today …

OK. I’ll check that.

Same with Gift as well.

All fixed for next version.

1 Like

Tested using Notepad as a Pole Display, I can confirm that v4.1.38 corrects all issues with Ticket Total Changed event mentioned in the following post, with the exception of using + / - buttons on an order line within a Ticket that has other items.

Using + / - buttons on an item (order line) causes the Pole Display (or Notepad) to show the updated total value of the individual item, but not the true Ticket Total.

This is the Template being used for Pole Items:

[LAYOUT]
{ORDERS}
<R>Total: {TICKET TOTAL}
[ORDERS]
<J>{QUANTITY} {NAME} |:| {TOTAL AMOUNT}

On my configuration + works fine but - does not :slight_smile: I’ve used your template to print content on Ticket Total Changed

I’ve fixed - but since + works fine for me I need to ask once more if + works fine for you or not…

Still not working for me.

Put more than one item on a Ticket…

1 Chips Fusion                     : 40.00
1 Chips Jalepeno                   : 40.00
1 Chips Pepper & Salt              : 40.00
                             Total: 120.00

Now select one of the items, and use + to increase quantity…

2 Chips Jalepeno                   : 80.00
                              Total: 80.00

The Total should read 160.00

Select another item (or the same item) and use + to increase quantity…

2 Chips Pepper & Salt              : 80.00
                              Total: 80.00

The Total should read 200.00

Not until we add a new item does the Total show the correct amount…

1 Chips Fusion                     : 40.00
2 Chips Jalepeno                   : 80.00
2 Chips Pepper & Salt              : 80.00
1 Chips Salt & Vinegar             : 40.00
                             Total: 240.00

Total is correct.

Let’s see what happens when we use - now (I decreased Jalepeno from 2 to 1)…

1 Chips Fusion                     : 40.00
1 Chips Jalepeno                   : 40.00
2 Chips Pepper & Salt              : 80.00
1 Chips Salt & Vinegar             : 40.00
                             Total: 200.00

That works fine. So - works, but + does not.

I see… This seems not related with + or -. When there is a selected order printing mechanism includes only selected orders so the total becomes the total of selected orders. It seems we should create an optional implementation to handle that.

1 Like

I’ve created a new option for Execute Print Job action. That will ignore order selections.

Also I’ve added another useful printing tag named {REMAINING TOTAL}. This tag will always print remaining ticket balance even you filter orders.

Normally printing engine will calculate ticket total from included orders. For example if you print orders tagged as Seat 1 ticket total will be calculated from Seat 1 orders. {REMAINING TOTAL} will always original ticket balance.

1 Like