diff --git a/src/puntocassa/PuntoCassa.java b/src/puntocassa/PuntoCassa.java index cd840a6..de5fd34 100644 --- a/src/puntocassa/PuntoCassa.java +++ b/src/puntocassa/PuntoCassa.java @@ -20,6 +20,7 @@ import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; +import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Locale; @@ -1936,6 +1937,11 @@ public class PuntoCassa extends JFrame implements ActionListener { return ok; } + /** + * funzione che calcola i prezzi dei prodotti e il totale in base alla fascia dello studente + * oppure utilizza la fascia di default + * @param model + */ private void sommaColonne(MyTableModel model) { Double t = model.somma(colImporto); MyTableModel model2 = (MyTableModel) tblLista1.getModel(); @@ -3474,6 +3480,13 @@ public class PuntoCassa extends JFrame implements ActionListener { return testo; } + /*** + * Metodo che gestisce la pressione dei bottoni relativi alle modalita di pagamento + * 0 -> a scalare + * 1 -> contanti + * 2 -> ticket + * 3 -> differito + */ private void pulsantiModoPagamento() { switch (Integer.parseInt(idModoPagamento.toString())) { case 0 -> { @@ -4005,6 +4018,10 @@ public class PuntoCassa extends JFrame implements ActionListener { } } + /** + * funzione richiamata in seguito alla selezione di una tessera + * + */ public void cercaTessera() {//String QueryCF) { MyApplication myApp = new MyApplication(); myApp.unaVolta = false;