These are chat archives for CORE-POS/IS4C

20th
Jul 2016
Dan
@danry25
Jul 20 2016 20:45
Hey, trying to get touchscreen lane working, but I don't see quick keys or menu editor under the site map in fannie at all
Andy Theuninck
@gohanman
Jul 20 2016 20:46
fannie/modules/plugins2.0/QuickLookups/QuickLookupsEditor.php; wouldn't show up unless said plugin is enabled in fannie
Dan
@danry25
Jul 20 2016 20:50
How'd I enable it in fannie, I've got enable onscreen keys set to yes in the install page, and quickkeys enabled in the plugins
Andy Theuninck
@gohanman
Jul 20 2016 20:52
fannie's got it's own install directory and configuration
Dan
@danry25
Jul 20 2016 20:54
ah
I see where it is
so I need to enable quicklookups in that?
Andy Theuninck
@gohanman
Jul 20 2016 20:56
I think so. You may have to bounce over to the updates tab as well afterward to create the QuickLookups table.
Dan
@danry25
Jul 20 2016 20:56
yea, defs need to do more than enable the module, one min
Hmm, when adding the first key I get HTTP 400 - Bad Request
Andy Theuninck
@gohanman
Jul 20 2016 21:00
That sounds like a bug, but manually adding a record so the table isn't empty might be the quickest fix
Dan
@danry25
Jul 20 2016 21:02
yeah, if I press the back arrow it seems to have created the first row, I can edit and save it
so, on the touchscreen side in lane it seems to prefill the action I put in but not actually do a carriage return
Andy Theuninck
@gohanman
Jul 20 2016 21:07
Are you using QO or QK to pull up the menu?
Dan
@danry25
Jul 20 2016 21:08
neither, I'm hitting the items key on the bottom of the screen
Andy Theuninck
@gohanman
Jul 20 2016 21:09
k
My guess would be this CORE-POS/IS4C@7939010
Dan
@danry25
Jul 20 2016 21:23
I'll give that a go
one other question, where are the docs on the customer display?
Andy Theuninck
@gohanman
Jul 20 2016 21:35
There aren't any. I've never had a lane with two independent video outputs to do any testing whatsoever or heard feedback from anyone who has
Dan
@danry25
Jul 20 2016 21:46
oh
well, we have two separate video outputs on every lane
usually an all in one with a 1080p touchscreen, then a 2nd display attached via displayport also at 1080p
Andy Theuninck
@gohanman
Jul 20 2016 21:49
Conceptually it should open a 2nd window that always lists the items and updates at appropriate times, but actually getting the two windows onto the correct monitors most likely depends on OS, desktop environment, and possibly other display configuration options. I'd be kind of surprised if there's any generic answer that works across different setups
Dan
@danry25
Jul 20 2016 22:26
mk
Finn
@thefinn93
Jul 20 2016 22:39
so it looks like I can extend ReceiptMessage to get a stuff onto the receipt, but I'm confused on select_conditions()
it looks like it returns part of an SQL query string to presumably decide if the thing should appear on the receipt
but, what table does that come from? What's the best way to add to it?
Andy Theuninck
@gohanman
Jul 20 2016 22:40
Is there any reason not to just use CCReceiptMessage?
Finn
@thefinn93
Jul 20 2016 22:40
uhh cuz i dont know what im doing :P
so CCReceiptMessage?
extend it?
Andy Theuninck
@gohanman
Jul 20 2016 22:41
In theory if you're logging request & response info in PaycardTransactions, you don't have to extend anything and CCReceiptMessage should just work (plus backend reporting that expects card transaction data in said table)
Finn
@thefinn93
Jul 20 2016 22:41
oic what it is
yeah im trying to get EBT balance onto the receipt
Finn
@thefinn93
Jul 20 2016 22:43
oh
cool :)
thanks
so i put their EBT balance in xBalance?
Andy Theuninck
@gohanman
Jul 20 2016 22:44
Yep
Finn
@thefinn93
Jul 20 2016 22:45
is there some way to put the EBT food vs EBT cash balances in?
I get those separately
Andy Theuninck
@gohanman
Jul 20 2016 22:45
Presumably each transaction would be a separate record
Finn
@thefinn93
Jul 20 2016 22:45
i get both amounts on every EBT transaction
Andy Theuninck
@gohanman
Jul 20 2016 22:47
I'd still lean toward just printing the [new] balance of whatever was used as the least confusing option
Finn
@thefinn93
Jul 20 2016 22:47
ok
damn i'll have to start using the PaycardTransactions table properly....
Finn
@thefinn93
Jul 20 2016 22:48
at the moment i'm not entering like half the columns cuz i couldn't figure out where they were supposed to go
er
what they were supposed to be
oh :)
thanks
Andy Theuninck
@gohanman
Jul 20 2016 22:49
I think some are inevitably going to be NULL for some transaction types or processors
Finn
@thefinn93
Jul 20 2016 22:49
yeah
hrm, there's no tracking of if a given transaction has been voided?
just the other way round, tracking the original for a transaction that voids another one
Andy Theuninck
@gohanman
Jul 20 2016 22:51
Is there any reason the linking needs to be bidirectional?
Finn
@thefinn93
Jul 20 2016 22:53
i have a UI where you can void out previous transactions
it's nice to mark already voided transactions
and with my limited SQL skills that's much easier to do by having the fact that a transaction has been voided in the transaction's row
Andy Theuninck
@gohanman
Jul 20 2016 22:58
Gotcha. You probably don't have to do it all in SQL. Query approvals and store in array, query voids and store in another array, loop through approvals and mark or omit the already voided one. A clever JOIN might be more efficient but I doubt it'll make a practical performance difference
Finn
@thefinn93
Jul 20 2016 23:00
hrm, okay, i'll look at it
Finn
@thefinn93
Jul 20 2016 23:22
So transID should be set to CoreLocal::get("currentid");?
Andy Theuninck
@gohanman
Jul 20 2016 23:24
that or that+1. PaycardTransactions.transID should match localtemptrans.trans_id on the tender record, ideally. In Paycards I put paycardTransactionID in localtemptrans.numflag as an extra linking option
Finn
@thefinn93
Jul 20 2016 23:25
hrm okay