I'm in Montreal.
I figured as much, I've been doing extensive search here and I get very few hits. Unfortunately my effort may not bring into fruition, and I'm not sure if my friend's tiny restaurant can survive the effect of the pandemic. He just opened last March. He has this clunky Te-4500 that he inherited from the previous owner ot the place, his helper dropped it during the opening, it still works despite of it's structure falling apart. I suggested that he should get a POS app, but not willing to spend much...
Just so we don't leave this post hanging like most other post are. It was too much tinkering on my part, combination of Tickets.Button, Roles, POSAPPS. It's working now.
Does anyone have any idea why the change window does not pop up on Linux? The same exact setup works on Windows 10 on virtualbox VM. I only have 2 tabs on payment screen cash/card. Lubuntu 20.04 myql 5.7.30 jre1.8.241/jre1.8.251
EDIT: As noted by RickyO below, my suggestion was for the latest freely available version (as of this posting). On your mysql prompt try this, if you don't have a database yet. create database your_database_name; press enter grant all privileges on your_database_name.* to 'your_user_name'@'localhost' identified by 'your_user_password'; press enter OR grant all privileges on your_database_name.* to 'your_user_name'@'your_ip_number' identified by 'your_user_password'; then check the attached. I forgot...
EDIT: As noted by RickyO below, my suggestion was for the latest version (as of this posting). On your mysql prompt try this, if you don't have a database yet. create database your_database_name; press enter grant all privileges on your_database_name.* to 'your_user_name'@'localhost' identified by 'your_user_password'; press enter OR grant all privileges on your_database_name.* to 'your_user_name'@'your_ip_number' identified by 'your_user_password'; then check the attached. I forgot :-) Make sure...
On your mysql prompt try this, if you don't have a database yet. create database your_database_name; press enter grant all privileges on your_database_name.* to 'your_user_name'@'localhost' identified by 'your_user_password'; press enter OR grant all privileges on your_database_name.* to 'your_user_name'@'your_ip_number' identified by 'your_user_password'; then check the attached. I forgot :-) Make sure you click the save button on the bottom then restart unicenta.
On your mysql prompt try this, if you don't have a database yet. create database your_database_name; press enter grant all privileges on your_database_name.* to 'your_user_name'@'localhost' identified by 'your_user_password'; press enter OR grant all privileges on your_database_name.* to 'your_user_name'@'your_ip_number' identified by 'your_user_password'; then check the attached.
On your mysql prompt try this, if you don't have a database yet. create database your_database_name; press enter grant all privileges on your_database_name.* to 'your_user_name'@'localhost' identified by 'your_user_password'; press enter then check the attached.
You seem to have inserted the snippets inside the foreach loop: Try the attached.
Remove the code tag, it's not supposed to be part of it. I didn't realized that when I was typing the code block and didn't work. I forgot to delete. remove this </code>
The lines you highlighted with red are standard. For the gratuity, you can try this in you printer ticket. <line><text align="center" length="42">Suggested Gratuity</text></line> #set ($Double = 0.00) #set($currency = "") #set($currency = $ticket.printTotal()) #set($Total = $currency.replace("$","")) #set($GRAT = $Double.parseDouble($Total) * 0.18) <!-- 18% --> #set($PERCENT18 = $currency.format("$%3.2f", $GRAT)) <line> <text align ="right" length="16">Grat: 18% </text> <text align ="right" length="16">${PERCENT18}</text>...
The lines you highlighted with red are standard. For the gratuity, you can try this in you printer ticket. <line><text align="center" length="42">Suggested Gratuity</text></line> #set ($Double = 0.00) #set($currency = "") #set($currency = $ticket.printTotal()) #set($Total = $currency.replace("$","")) #set($GRAT = $Double.parseDouble($Total) * 0.18) <!-- 18% --> #set($PERCENT18 = $currency.format("$%3.2f", $GRAT)) <line> <text align ="right" length="16">Grat: 18% </text> <text align ="right" length="16">${PERCENT18}</text>...
Remove the code tag, it's not supposed to be part of it. I didn't realized that when I was type code block and didn't work. I forgot to delete. remove this </code>
That's great! I'm sorry I don't have a kitchen ticket. Maybe if you post your kitchen ticket here we can look.
Maybe you should post your whole Printer.Ticket here. You can also check the attached maybe you could try it.
I think I understand now, pardon me. you should comment out the line in Printer.TIcket like this: or delete the line if you will never use it. <!-- <text align ="right" length="8">${ticketline.printPriceTax()}</text> --> That way the column will not print. In case you don't know where to find it. Maintainance->Resources-->Printer.Ticket Search for the line <text align ="right" length="8">${ticketline.printPriceTax()}</text>
I think I understand now, pardon me. you should comment out the line in Printer.TIcket like this: or delete the line if you will never use it. <!-- <text align ="right" length="8">${ticketline.printPriceTax()}</text> --> That way the column will not print.
I thin I understand now, pardon me. you should comment out the line in Printer.TIcket like this: or delete the line if you will never use it. <!-- <text align ="right" length="8">${ticketline.printPriceTax()}</text> --> That way the column will not print.
I thin I understan now, pardon me. you should comment out the line in Printer.TIcket like this: or delete the line if you will never use it. <!-- <text align ="right" length="8">${ticketline.printPriceTax()}</text> --> That way the column will not print.
Do you have this in your Printer.Ticket? <!-- Print line to show Prices inc. Tax --> This line prints the tax. <text align ="right" length="8">${ticketline.printPriceTax()}</text> <text align ="right" length="7">x${ticketline.printMultiply()}</text> <text align ="right" length="10">${ticketline.printValue()}</text> </line> I'm assuming you have your tax setup properly of course :-) Maintainance->Tax Categories Maintainance->Taxes
Do you have this in your Printer.Ticket? <!-- Print line to show Prices inc. Tax --> This line prints the tax. <text align ="right" length="8">${ticketline.printPriceTax()}</text> <text align ="right" length="7">x${ticketline.printMultiply()}</text> <text align ="right" length="10">${ticketline.printValue()}</text> </line>
Do you have this in your ticketPrinter? <!-- Print line to show Prices inc. Tax --> This line prints the tax. <text align ="right" length="8">${ticketline.printPriceTax()}</text> <text align ="right" length="7">x${ticketline.printMultiply()}</text> <text align ="right" length="10">${ticketline.printValue()}</text> </line>
thanks Andrew. I had a long reply this afternoon and I was so sure it was already posted, Somehow it's not. I must have click the wrong button, I can't even remember what happened.
Apparently refund has it own ID independent of the regular ticket ID.
The lines you highlighted with red are standard. For the gratuity, you can try this in you printer ticket. <line><text align="center" length="42">Suggested Gratuity</text></line> #set ($Double = 0.00) #set($currency = "") #set($currency = $ticket.printTotal()) #set($Total = $currency.replace("$","")) #set($GRAT = $Double.parseDouble($Total) * 0.18) <!-- 18% --> #set($PERCENT18 = $currency.format("$%3.2f", $GRAT)) <line> <text align ="right" length="16">Grat: 18% </text> <text align ="right" length="16">${PERCENT18}</text>...
Hi Guys/Gals, As I'm still trying to help my friend with his mini QSR restaurant. I'm playing with the edit ticket and refund, I noticed that the ticket ID's are not the same from the original ticket ID when reprinted. The edit sales ticketPreview show the expected ID from the original transaction. What Is that the expected output? --transaction was close, we get a new ID --edit sales, preview shown the expected ID from the closed transaction --refund is issued --printed ticket should have the same...
Oh I was trying to hide the POSAPPS button the one with infinity looking thing, not the price.
I'm resurrecting this thread since I couldn't find any info on it during my search here and this is on top of the search. Thanks to Mr. Google, by way of Mr. DuckDuckGo ;-) I found a way. As everyone else that seems to have tried, I just blindly cut and paste the Printer.Ticket to Printer.TicketPreview and was surprized that it didn't work. #set($taxDouble = 0.00) #set($tmpString = "") #set($currency = "") #set($currency = $ticket.printSubTotal()) #set($subTotal = $currency.replace("$","")) <-- Remove...
I'll keep that in mind if happens again. I knew it was something to do with tax, it happened when I just added a product. I was fiddling with the tax exempt. Thanks.
Thanks, I realized just now when I tried it again. It was my bug, I forgot the '!' bang when I commented out the button.
It seems that if POSAPPS button is hidden, the unit price on the buttons disappear.
I stared at it a bit more and managed to hack it to print my desired format independent of the locale setting. I added this to TicketInfo.java: public String printCustomDate() { SimpleDateFormat df = new SimpleDataFormat("yyyyMMddHHmmss"); return df.format(m_dDate); } ...and pressed the hammer. It didn't complain. Now I have no idea of the implication on the instability of the program. I'd rather not touch anything from the source and just do it in the Printer.Ticket . Any nudge in the right direction...
I stared at it a bit more and managed to hack it to print my desired format independent of the locale setting. I added this to TicketInfo.java: public String printCustomDate() { SimpleDateFormat df = new SimpleDataFormat("yyyyMMddHHmmss"); return df.format(m_dDate); } ...and pressed the hammer. It didn't complain. Now I have no idea of the implication on the instability of the program. I'd rather not touch anything from the source and just do it in the Printer.Ticket . Any nudge in the right direction...
I stared at it a bit more and managed to hack it to print my desired format independent of the locale setting. I added this to TicketInfo.java: public String printCustomDate() { SimpleDateFormat df = new SimpleDatFormat("yyyyMMddHHmmss"); return df.format(m_dDate); } ...and pressed the hammer. It didn't complain. Now I have no idea of the implication on the instability of the program. I'd rather not touch anything from the source and just do it in the Printer.Ticket . Any nudge in the right direction...
There's not much luck for me. I did get a result from from getDate(), but then it's too long and need to reformat again :( I managed to setup a netbeans IDE to hack my way thru the source, it's overwhelming, but I managed to get it compiled and run :) Now I'm staring at Formats.java and TicketInfo.java and thnking 'hmmn, if I could duplicate that printDate() and somehow hardcode the format for the TIMESTAMP I wanted, it might work' and then there's the silence.... :-)
No luck, I had to start over again from scratch. And now I'm back from where I started :-)
I just tried to create a new database and the result is the same. I even started from a fressh unicentaopos.properties. Sales screen no show.
So I've managed to corrupt unicenta during the few hours that I played with it. I can't get the "sales screen" to show. Actually both "sales" and "edit sales" doesn't show. Everything else seems to be intact. Last I did was to add a new product with parent tax that has 0 percentage. I've deleted all data from DB except for what was there initially, still I cant get the sales screen to show. (I'll try creating a new db to test, but I still wanted to know what went wront). PC running win10 Mysql 5.7...
Thanks Andrew, I'm no programmer but I dabble with c++ and I think I could use the getDate() as long as the result is the same date as printDate(). Unfortunately something went wrong with unicenta, I can't get the sales screen to show. Thanks.
Hi, New here, 'just found this opos, initial impression is great! I'm trying to help a friend with his small startup. I've played arround with customizing the ticket and hit a snag. Is there a way to reformat the output of the 'printdate()' ? Let's say I set the locale for the date and time to default, and I want to use the default date format and at the same time I need it in another format. How can I print that same date but with a different format?