Skip to content

Commit

Permalink
Fix Kursteilnehmer Abbuchungsdatum (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannMaierhofer authored Jun 14, 2024
1 parent c6f6d04 commit 85accc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/de/jost_net/JVerein/io/AbrechnungSEPA.java
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ private void abbuchenKursteilnehmer(AbrechnungSEPAParam param,
zahler.setName(kt.getName());
zahler.setVerwendungszweck(kt.getVZweck1());
lastschrift.add(zahler);
kt.setAbbudatum();
kt.setAbbudatum(param.faelligkeit);
kt.store();
}
catch (Exception e)
Expand Down
2 changes: 1 addition & 1 deletion src/de/jost_net/JVerein/rmi/Kursteilnehmer.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void setAdressierungszuatz(String adressierungszusatz)

public Date getEingabedatum() throws RemoteException;

public void setAbbudatum() throws RemoteException;
public void setAbbudatum(Date abbudatum) throws RemoteException;

public void resetAbbudatum() throws RemoteException;

Expand Down
4 changes: 2 additions & 2 deletions src/de/jost_net/JVerein/server/KursteilnehmerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ public Date getEingabedatum() throws RemoteException
}

@Override
public void setAbbudatum() throws RemoteException
public void setAbbudatum(Date abbudatum) throws RemoteException
{
setAttribute("abbudatum", new Date());
setAttribute("abbudatum", abbudatum);
}

@Override
Expand Down

0 comments on commit 85accc1

Please sign in to comment.