From d1ef94d54c7cd6fa443ca1af6180eb7511b6ee8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20K=C3=BCck?= Date: Wed, 15 May 2024 13:29:26 +0200 Subject: [PATCH] #18: WIP --- .../medication/MedicationModalController.java | 20 ++++ .../nhplus/medication/MedicationModal.fxml | 97 ++++++++++++++++++- .../nhplus/treatment/TreatmentModal.fxml | 2 +- 3 files changed, 117 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/hitec/nhplus/medication/MedicationModalController.java b/src/main/java/de/hitec/nhplus/medication/MedicationModalController.java index 50585f0..37943eb 100644 --- a/src/main/java/de/hitec/nhplus/medication/MedicationModalController.java +++ b/src/main/java/de/hitec/nhplus/medication/MedicationModalController.java @@ -1,8 +1,28 @@ package de.hitec.nhplus.medication; +import java.time.LocalDate; +import java.time.LocalTime; + +import de.hitec.nhplus.utils.DateConverter; +import javafx.event.ActionEvent; +import javafx.fxml.FXML; +import javafx.scene.control.Label; + public class MedicationModalController { + + private Medication medication; + + private AllMedicationController controller; + public void initialize(){ } + + @FXML + public void handleSave() { + } + @FXML + public void handleCancel() { + } } diff --git a/src/main/resources/de/hitec/nhplus/medication/MedicationModal.fxml b/src/main/resources/de/hitec/nhplus/medication/MedicationModal.fxml index 792550a..0538795 100644 --- a/src/main/resources/de/hitec/nhplus/medication/MedicationModal.fxml +++ b/src/main/resources/de/hitec/nhplus/medication/MedicationModal.fxml @@ -4,6 +4,9 @@ + + + + + + + + + + + + + + + + + + + + + +
-