Ignore:
Timestamp:
30 Oct 2018, 07:38:19 (6 years ago)
Author:
Henrik Bettermann
Message:

Don't getReturningData for previous session payments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/utils.py

    r15196 r15209  
    154154        # paid before tuition fee.
    155155        if category in ('ict_entre', 'logbook_combo', 'siwess_combo') and \
    156             student.state == RETURNING:
     156            student.state == RETURNING and not previous_session:
    157157            p_session, p_level = self.getReturningData(student)
    158158        if category == 'schoolfee':
Note: See TracChangeset for help on using the changeset viewer.