add: Rechnung View

This commit is contained in:
Johannes Kantz
2023-01-31 06:01:53 +01:00
parent 2b5839f0ea
commit c981fbca19
5 changed files with 137 additions and 12 deletions

View File

@@ -1,14 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.collections.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<AnchorPane xmlns="http://javafx.com/javafx"
xmlns:fx="http://javafx.com/fxml"
fx:controller="com.bib.essensbestellungsverwaltung.AdminController"
prefHeight="400.0" prefWidth="600.0">
</AnchorPane>
<HBox alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="860.0" prefWidth="850.0" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.bib.essensbestellungsverwaltung.InvoiceController">
<children>
<VBox alignment="CENTER" prefHeight="860.0" prefWidth="500.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Abrechnung erstellen">
<font>
<Font name="System Bold" size="25.0" />
</font></Text>
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="122.0" spacing="20.0">
<children>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
<Label text="Jahr" />
<Spinner fx:id="jahrSpinner">
<valueFactory>
<SpinnerValueFactory.IntegerSpinnerValueFactory initialValue="2023" max="2100" min="2020" />
</valueFactory>
</Spinner>
</children>
</VBox>
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
<children>
<Label text="Monat" />
<ChoiceBox fx:id="monatChoiceBox" value="Januar">
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="Januar" />
<String fx:value="Februar" />
<String fx:value="März" />
<String fx:value="April" />
<String fx:value="Mai" />
<String fx:value="Juni" />
<String fx:value="Juli" />
<String fx:value="August" />
<String fx:value="September" />
<String fx:value="Oktober" />
<String fx:value="November" />
<String fx:value="Dezember" />
</FXCollections>
</items>
</ChoiceBox>
</children>
</VBox>
</children>
</HBox>
<Button mnemonicParsing="false" onMouseClicked="#onRechnungErstellenClick" text="Rechnung erstellen" />
<Text fx:id="responseText" strokeType="OUTSIDE" strokeWidth="0.0">
<VBox.margin>
<Insets top="100.0" />
</VBox.margin>
</Text>
</children>
</VBox>
</children>
</HBox>