These are chat archives for CORE-POS/IS4C

7th
Jul 2016
Asa
@asapdx
Jul 07 2016 18:43
Hi, I'm with Accelerate Networks working on corepos. I'm working on a coin dispenser, what variable is the change due stored in?
Andy Theuninck
@gohanman
Jul 07 2016 18:47
You're probably looking for https://github.com/CORE-POS/IS4C/blob/master/pos/is4c-nf/lib/PrehLib.php#L150-L164. Change ends up being somewhat transient as it only really exists briefly as one transaction ends and the next begins
Asa
@asapdx
Jul 07 2016 18:54
Is there something I can extend to get that before it clears?
Andy Theuninck
@gohanman
Jul 07 2016 19:31
Not exactly. The path of least resistance might be using a plugin's plugin_transaction_reset method that's called after the conclusion of each transaction. You could then query the most recent complete transaction to find the change amount, if any