added invoice and order collection
This commit is contained in:
@@ -11,10 +11,9 @@ public class ConsoleMain {
|
||||
static boolean isParent = false;
|
||||
public static void main(String[] args) {
|
||||
boolean firstRun = Database.init();
|
||||
Database.createDb();
|
||||
Database.fillDb();
|
||||
//Database.printSampleQuery();
|
||||
if(firstRun){
|
||||
Database.createDb();
|
||||
Database.fillDb();
|
||||
ConsoleLib.createWorkerPrompt();
|
||||
}
|
||||
while (true){
|
||||
@@ -63,6 +62,9 @@ public class ConsoleMain {
|
||||
System.out.println("8: Essensplan anzeigen");
|
||||
System.out.println("9: Löschen");
|
||||
System.out.println("10: Essen auswählen");
|
||||
System.out.println("11: Bestellungen des Tages sammeln");
|
||||
System.out.println("12: Monatsabrechnung");
|
||||
System.out.println("13: Preis ändern");
|
||||
|
||||
|
||||
System.out.print("Auswahl: ");
|
||||
@@ -84,8 +86,9 @@ public class ConsoleMain {
|
||||
case "8" -> ConsoleLib.showFood_planPrompt();
|
||||
case "9" -> ConsoleLib.deletePrompt();
|
||||
case "10" -> ConsoleLib.createFood_selectionPrompt();
|
||||
default -> {
|
||||
}
|
||||
case "11" -> ConsoleLib.dayOrderPrompt();
|
||||
case "12" -> ConsoleLib.invoicePrompt();
|
||||
case "13" -> ConsoleLib.changePricePrompt();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user