- Timestamp:
- 29 Apr 2014, 07:31:54 (11 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r11599 r11604 4 4 1.2dev (unreleased) 5 5 =================== 6 7 * is_fresh property method added to Student class. 6 8 7 9 * Special application procedure modified. Special applicants must submit -
main/waeup.kofa/trunk/src/waeup/kofa/students/student.py
r10266 r11604 211 211 212 212 @property 213 def is_fresh(self): 214 return self.current_session == self.entry_session 215 216 @property 213 217 def before_payment(self): 214 entry_session = getattr(215 self.get('studycourse', None), 'entry_session', None)216 218 non_fresh_states = (PAID, REGISTERED, VALIDATED, RETURNING, ) 217 if self.current_session == entry_session and \ 218 self.state not in non_fresh_states: 219 if self.is_fresh and self.state not in non_fresh_states: 219 220 return True 220 221 return False
Note: See TracChangeset for help on using the changeset viewer.