Menu

#1 More events

1.0
open
John L
2016-03-26
2015-09-03
Pepsi
No

More events to be able to trigger more scripts.
for example with ticket.close we can use a script for 5 cent rounding if payment in cash.
But if I then click cancel. There is no posibility to remove the rounding if that is set.

Krulleke

Discussion

  • John L

    John L - 2015-09-03

    Hi Krulleke

    More event triggers can be created, but I would need to know when to give an idea, if they can be achieved in the right section of the code, so more details of when to trigger, if you have any would be great.

    John

     
  • Pepsi

    Pepsi - 2015-11-16

    John,

    Is it possible to get events final sales screen.
    I'll try to explain. In the Netherlands we have a rounding to 5 cent.
    That is currently done with a event when you want to close the sale.
    A window comes with all the bank notes.

    I'm searching for events if someone switches from cash to Bank Pin Gift.. (all of them) so I can remove or add the rounding (if required).

    Krulleke

     
  • electronicsuk

    electronicsuk - 2016-03-26

    This would be very useful to me also. I've been scratching my head for two weeks trying to find a way to create an event that occurs when the payment method is changed in the payment panel, but with my very sketchy knowledge of Java I have yet to have any success modifying the source code. I managed to create a non-abstract method in JPanelTicket that was called by anonymous inner class in m_jTabPaymentStateChanged, but I could never get executeEvent working properly from inside the method.

     

    Last edit: electronicsuk 2016-03-26

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.