Compare commits

..

No commits in common. "391e7a22170999f9ba08f52d9624f54dbae10a51" and "29988283c2807edd3c498d135e6929a3633d67dd" have entirely different histories.

View File

@ -1912,6 +1912,7 @@ public class PuntoCassa extends JFrame implements ActionListener {
&& consentiCredito == false) { && consentiCredito == false) {
JOptionPane.showOptionDialog(this, "Saldo tessera insufficiente!", "Attenzione", JOptionPane.showOptionDialog(this, "Saldo tessera insufficiente!", "Attenzione",
JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE, null, null, null); JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE, null, null, null);
jbtnEliminaActionPerformed(null);
return; return;
} }
} else { } else {
@ -3665,11 +3666,6 @@ public class PuntoCassa extends JFrame implements ActionListener {
} }
} }
} }
else {
//mostra messaggio ma non cancella i piatti
JOptionPane.showMessageDialog(this, "Saldo insufficiente!", "Saldo", JOptionPane.OK_OPTION);
return;
}
} }
} }
//-------------------------------------------------------- //--------------------------------------------------------