0002064-avanzamento-tecnologico-e-pulizia-sorgenti #1

Merged
f.disciascio merged 12 commits from 0002064-avanzamento-tecnologico-e-pulizia-sorgenti into dev 2024-11-05 08:04:31 +00:00
Showing only changes of commit 02e6cdb77c - Show all commits

View File

@ -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;