java.lang.Object
jku.se.Controller.AddInvoiceController
Controller for adding invoices via manual entry or OCR.
Handles validations, file upload, and notification logic.
-
Field Summary
FieldsModifier and TypeFieldDescriptionjavafx.scene.control.TextField
javafx.scene.control.ComboBox
<String> javafx.scene.control.DatePicker
javafx.scene.control.Label
javafx.scene.control.Button
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Handles the upload of invoice data and document, with validation and database persistence.
-
Field Details
-
datePicker
public javafx.scene.control.DatePicker datePicker -
amountField
public javafx.scene.control.TextField amountField -
statusLabel
public javafx.scene.control.Label statusLabel -
categoryCombo
-
uploadButton
public javafx.scene.control.Button uploadButton -
selectedFile
-
-
Constructor Details
-
AddInvoiceController
public AddInvoiceController()
-
-
Method Details
-
handleUpload
public void handleUpload()Handles the upload of invoice data and document, with validation and database persistence.
-