Skip to content

Commit

Permalink
Fix Splitbuchung Exception (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannMaierhofer authored Feb 16, 2024
1 parent cd2ec28 commit f72c03c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/de/jost_net/JVerein/gui/control/BuchungsControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ public Input getBuchungsart() throws RemoteException
}
buchungsart = new BuchungsartInput().getBuchungsartInput(buchungsart,
getBuchung().getBuchungsart());
if (!getBuchung().getSpeicherung())
{
buchungsart.setMandatory(true);
}
return buchungsart;
}

Expand Down Expand Up @@ -896,6 +900,7 @@ private void handleStore() throws ApplicationException
}
else
{
b.plausi();
Buchungsart b_art = b.getBuchungsart();
if (b_art.getSteuersatz() > 0) {
Buchung b_steuer = getDependentBuchungen().get(0);
Expand Down

0 comments on commit f72c03c

Please sign in to comment.