|
|
|
@@ -201,9 +201,9 @@ public class StationsHistorieController { |
|
|
|
|
|
|
|
if(!LocalDateTime.now().isBefore(selectedItem.getAufnahmeDatum())){ |
|
|
|
Alert alert = new Alert(Alert.AlertType.WARNING); |
|
|
|
alert.setTitle("Information Dialog"); |
|
|
|
alert.setTitle("Stationsaufenthalt kann nicht entfernt werden!"); |
|
|
|
alert.setHeaderText(null); |
|
|
|
alert.setContentText("I have a great message for you!"); |
|
|
|
alert.setContentText("Der Aufenthalt muss in der Zukunft liegen, um gel\u00f6scht werden zu k\u00f6nnen!"); |
|
|
|
alert.initOwner(btnStatHistCancel.getScene().getWindow()); |
|
|
|
alert.initModality(Modality.APPLICATION_MODAL); |
|
|
|
alert.showAndWait(); |
|
|
|
|