Ignore:
Timestamp:
20 May 2012, 09:57:09 (12 years ago)
Author:
Henrik Bettermann
Message:

Add property is_postgrad.

Add invariant constraint to ICertificate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r8471 r8472  
    278278                details['p_session'], details[
    279279                    'p_level'] = self.getReturningData(student)
    280             elif student.current_mode.startswith('pg') and student.state == PAID:
     280            elif student.is_postgrad and student.state == PAID:
    281281                # Returning postgraduate students also pay for the next session
    282282                # but their level always remains the same.
Note: See TracChangeset for help on using the changeset viewer.