I can not finish the Ticket (9 posts)

Valpo
Member
Posted 1094 days ago #
By going to pay a ticket, not ends, when you press the Finish button is there and not close the ticket.
I tested on Windows 7, Windows XP, Ubuntu and Kubuntu, but the problem is all the same.

If someone has thought this problem and have fixed

I would appreciate your help.

I am currently running the latest version 1.0.3 Version: 1.0_3 RC (Nightly build)

Thank

Andres

Goddard
Member
Posted 1093 days ago #
Try with the Settle button in the dashboard if you want to receive payment and close a ticket. Finish will save the ticket (if you have kitchen printer, will send a print to kitchen). One more thing, get sure your posdb folder has write access. Otherwise it cannot update db.
Valpo
Member
Posted 1092 days ago #
Hello Goddard

I have not been able to achieve close tickets in windows will not let me change permissions and am now in Ubuntu v10.03.
I unzipped the files floreantpos in:
/Home/andres/floreantpos
In which I created a new folder called "dist" to which I gave permission and floreantpos copied the files within it.

when I close a ticket, does nothing and I remove the screen to create another. This shows the terminal, (sorry to include it here, but can not find how to attach a file in the forum)

/home/andres/floreantpos/floreantpos.bat: 1: @echo: not found
: not founds/floreantpos/floreantpos.bat: 2:
Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "2,12"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1242)
at java.lang.Double.parseDouble(Double.java:527)
at com.floreantpos.ui.views.payment.CashPaymentView.doFinish(Unknown Source)
at com.floreantpos.ui.views.payment.CashPaymentView.access$300(Unknown Source)
at com.floreantpos.ui.views.payment.CashPaymentView$4.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
at java.awt.Component.processMouseEvent(Component.java:6108)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:5873)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Keep working

Thank
Java Beginner
Member
Posted 1074 days ago #
I have got the same problem, then i find the solution here:
http://sourceforge.net/projects/floreantpos/forums/forum/1021816/topic/3586559

it's about the Double.parseDouble cannot accept coma(thousands separator)



Great for Floreant
Valpo
Member
Posted 1074 days ago #
Hi Java Beginner

I tried on different operating systems facilities such as Windows and Ubuntu and I can not close the ticket.

Now I will read the link and hopefully it can solve.

Thank you very much.
Ghandinader
Member
Posted 781 days ago #
hello,
where can i open and access all these code
cause i m new in Java
plz waiting fro reply
thank you
Goddard
Member
Posted 778 days ago #
@Ghandinader, you have used wrong thread.

Visit floreantpos project in sourceforge.com and download source code from subversion. If you need compilation instruction check our wiki
Bravehurts
Member
Posted 696 days ago #
One year passed. Is there a compiled version?
Bravehurts
Member
Posted 695 days ago #
I tried to compile the source from https://floreantpos.svn.sourceforge.net/svnroot/floreantpos.
The trunk folder seems not to be ready to compile. The build.xml is missing etc. The tag folder is the only one including a build.xml. Ant creates the floreantpos-1.0_3.zip.
The title of the binray shows version number 1.0_2. By closing a payment the same exception will be thrown.

reference_ http://wiki.floreantpos.com/home/source-code