if (!trans.isOpen()) {
pos.showDialog("dialog/error/terminalclosed");
return;
}
PaidInOut PaidInOut = new PaidInOut(trans, pos, type);
Map mapInOut = PaidInOut.openDlg();
if (null != mapInOut.get("amount")) {
String amount = (String) mapInOut.get("amount");
try {
double dbl = Double.parseDouble(amount);
} catch (NumberFormatException e) {