Skip to content

Commit

Permalink
Datum bei Splitbuchungen nicht editierbar (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannMaierhofer authored Aug 12, 2024
1 parent 68d50b6 commit 2f5fe6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/de/jost_net/JVerein/gui/parts/BuchungPart.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import de.willuhn.jameica.gui.AbstractView;
import de.willuhn.jameica.gui.GUI;
import de.willuhn.jameica.gui.Part;
import de.willuhn.jameica.gui.input.DateInput;
import de.willuhn.jameica.gui.parts.ButtonArea;
import de.willuhn.jameica.gui.util.ColumnLayout;
import de.willuhn.jameica.gui.util.LabelGroup;
Expand Down Expand Up @@ -72,7 +73,10 @@ public void paint(Composite parent) throws RemoteException
grKontoauszug.addLabelPair("IBAN", control.getIban());
grKontoauszug.addLabelPair("Betrag", control.getBetrag());
grKontoauszug.addLabelPair("Verwendungszweck", control.getZweck());
grKontoauszug.addLabelPair("Datum", control.getDatum());
DateInput date = control.getDatum();
grKontoauszug.addLabelPair("Datum", date);
if (!control.getBuchung().getSpeicherung())
date.setEnabled(false);
grKontoauszug.addLabelPair("Art", control.getArt());
grKontoauszug.addLabelPair("Sollbuchung", control.getMitgliedskonto());
grKontoauszug.addLabelPair("Kommentar", control.getKommentar());
Expand Down

0 comments on commit 2f5fe6f

Please sign in to comment.