paymentdialog.setPrintSelected((!m_App.getProperties().getProperty("machine.printerenabled").equals("false"))
&& "true".equals(m_jbtnconfig.getProperty("printselected", "true")));
paymentdialog.setTransactionID(ticket.getTransactionID());
if (paymentdialog.showDialog(ticket.getTotal(), ticket.getCustomer(), ticket.getDateReturn(), ticket.isPressing())) {
// assign the payments selected and calculate taxes.
ticket.setPayments(paymentdialog.getSelectedPayments());
// Asigno los valores definitivos del ticket...