Cash Transaction Problem. Please help. (11 posts)

Erksu
Member
Posted 605 days ago #
When i click to "Pay Now" I get few options but when i want to close the table with cash transaction, i get this error:

MDS-POS
--------------------------------------------------------
We are unable to serve the request due to an error, please try again.
--------------------------------------------------------

What is that "an error" ??

Please someone help me out..

Maveron
Member
Posted 592 days ago #
I have same problem!!!
In 1.0.2 and 1.0.3 we can not close Ticket !!!
All ways i see messadge "We are unable to serve the request due to an error, please try again. "
What we can fix this bug?????
Nibelungen
Member
Posted 519 days ago #
Same here, current svn.
Steps:
Start DB
Start App
Login
Press New (Table)
-Table Number
-People
Select Items
Press Finish
(at this point the bill is shown with Jasper Viewer - that should happen by create an order?)
Select Ticket
Press Settle
Press Cash Transaction
So at this point the following buttons leads to
the error: Exact Change, Next Amt and Finish
No difference if the amount tendered is changed.

Maybe someone can solve this?

Btw. thanks for the great work.

best regards.
Patoh
Member
Posted 396 days ago #
Any body found a fix for this?
Lmugaa
Member
Posted 394 days ago #
same here, please help!
Nehilor
Member
Posted 381 days ago #
Hi all, i'm software developer, i'm from Costa Rica, i'm not sure why the error occurs, but i found this solution:

In Application.java line 281 search formatNumber and paste this:

public static String formatNumber(Double number) {
String valor;
if(number == null) {
valor = "0.00";
valor = valor.replace(",", ".");
return valor;
}

String value = decimalFormat.format(number);
if(value.equals("-0.00")) {
valor = "0.00";
valor = valor.replace(",", ".");
return valor;
}
value = value.replace(",", ".");
return value;
}

In CashPaymentView.java line 238 paste this:
private void doFinish(java.awt.event.ActionEvent evt) {
try {
String s = tfAmountTendered.getText();
s = s.replace(",", ".");
double tenderedAmount = Double.parseDouble(s);
settleTickets(tenderedAmount, 0, new CashTransaction(), null, null);
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Error: " + e.getMessage());
}

}

I think is a error parsing the string to double, download the source code, create a netbeans project, do all the instructions of this website http://wiki.floreantpos.com/home/setup-dev-environment
and search the files, i hope this help you, cheers.
Gabriel Villalobos.
Dynamis-soft, Software Developer.
Igor420
Member
Posted 321 days ago #
Great bit of free software. I really appreciate how much work went into this. Thanks.

Is there a fix for this error?

I just got the same error following Nibels process

Same here, current svn.
Steps:
Start DB
Start App
Login
Press New (Table)
-Table Number
-People
Select Items
Press Finish
(at this point the bill is shown with Jasper Viewer - that should happen by create an order?)
Select Ticket
Press Settle
Press Cash Transaction
So at this point the following buttons leads to
the error: Exact Change, Next Amt and Finish



I am about to roll this out in a friends restaurant and it would be bad for this to happen in a live environment.

I am running W7 on a 64 bit machine.

Any help?
Kacey
Member
Posted 286 days ago #
I do not get this error with 1.0_3 can you give some more info like 32bit or 64 bit JVM and if you are using the OS printer drivers or javapos?