If there are 3 bills, all printed bills, then combined all of them into one bill(or we move the item between the bills, then print again, what will happen in the mev machine?
all the invoice need a ref part. to indicate a bill, and it self, will use the same number with "F" at the end.(not all need ref, only on there's doc, otherwise how can we set a ref? and when bill printed, we set ref to it self. this will be used by the invoice doc which will be same number just added a "F" at the end)
when move items/combine all/un combin all/ need to check if the affected bill are printed, if printed, then need to dump it and generate a new bill copy every thing in the old bill. the new created bill is original status.
if a bill printed check already, then did a void operation, what shall we do? we should print a invoice with 0 as sub total or reprint a check with 0 as subtotal? (print a final invoice with subtotal 0)
if a bill printed invoice already, then we need to refund to the customer all the money of part of the money. what shall we do? print an other invoice with reprint and negative money as sub total? (yes, but not reprint, just a ref and a negative moneys.)
If a bill or many bills are already printed(bills), then we print the invoice,the msg will calculate two times of money? ,both have displayed same bill number. -----(no problem if the invoice not printed, gov will use the check to calculate the tax.
from checkBillDialog, when click record, not display in sales pane.
it's because the opentime was used to fetch output
and the open time doesn't match the time on output
open time come from the display on Barframe
it normally come from the start time of table button.(which is create time of bill?) and output should sync with the create time when table mode, and open time in table mode.
while.........for open from an checkbillDialog, what is the open time come from?
and becareful that if there's split bills, each bill might have different create time or open time? not sure. anyway, the output time field should be sync with his bill's create time or open time.....
counter mode, table is used to indicate bill number
for following use case, we need to display the waiting time on bill:
input into pos first, when deliver or customer come to pick up, print bill.
mix mode, there's some one is sitting there didn't pay yet, owner need to display their bill on side bar to know how long they've been there.
problem now:
have added logic that when printed bill, will update the created time of bill.
and for counter mode, we will use created time to calculate the minutes on table.
but
bill become 0 min 0$ after change
how come this? when I just clicked save/send button, it displayed still correct
I noticed that when clicked save, I modified the startTime in the table button's property, while in database, the Dinner table record, there's a time (I am not sure it's what............guess it must be open time.(because there's only one time....so it's correct that that time is not changed.
while why when I click the button, it display 0min/0$?----------what happend at that time?
We want to generate a batch automatically at the end of day if we find their are some bill after the closed batch.....in another word, the waiter supposed to close the batch at the end of the day, but they could forgot to do that, or we can do it for waiter automatically.
Why we have to generate a batch everyday by the end of the day? it will solve what problem?---------normally, the second mornining, it will be another waiter who continue the work, when he leave at noon, we don't want his batch contains the bill records whoever has left in last night.
Questions:
Some restaurant allow multi waiter share same code, so can not use the existing funciton that login with different usercode to see only this waiter's transaction. the only clud can depends on is the batch no.
ofcause, the system can be customized to close the aotomatica batch generating function.
when boss check a report of a day, he want to see how many batches are included in this day. so we need to generate a relationship between day and batchnumber. so, maybe the batch can be something like #000120220921 or #202209210001
the end of day can be customized
the employee can not close batch, but they can check their own tranctions by setting the time. only manager can see everyone's transaction, so only manager can close batch.-------------but shouldn't we allow employee to close his own batch?
我得要看下打印receipt时都发生了什么事情,referTo是如何处理的,payment Info
now my question is tha
t when I print a receipt, which field is for the bill ref?
what condition can result in multi ref?
what is the "#" come from?
when where the bill have multi refs?
What I already knows:
in the first line of mev document contains a field called <etatDoc>, if it's "I" means print out, if it's "N", means save paper.
the second part contains a field call numeroTrans which is hte id of the transaction.
the thrid part is like "<ref numeroRef=\"%s\" dateRef=\"%s\" mtRefAvTaxes=\"%s\"/>";//»AAAAMMJJhhmmss»//»+/-999999.99» there's a numeroRef indicating that which one this bill is referring to.
at java.base/javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:326)
at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:111)
at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:108)
at java.base/java.security.AccessController.doPrivileged(Native Method)