Changeset 10192 for main/waeup.aaua/trunk/src/waeup/aaua
- Timestamp:
- 22 May 2013, 12:48:32 (11 years ago)
- Location:
- main/waeup.aaua/trunk/src/waeup/aaua/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaua/trunk/src/waeup/aaua/students/tests/test_browser.py
r10181 r10192 170 170 171 171 # Returning students with entry session 2005-2007 172 # get a reduction of 20000 172 # and study mode ug_pt get a reduction of 20000 173 self.certificate.study_mode = 'ug_pt' 173 174 IWorkflowState(self.student).setState('returning') 174 175 self.student['studycourse'].entry_session = 2005 -
main/waeup.aaua/trunk/src/waeup/aaua/students/utils.py
r10181 r10192 83 83 elif category == 'schoolfee_1': 84 84 amount = getattr(certificate, 'school_fee_2', 0.0) * ratio 85 if student['studycourse'].entry_session in (2005, 2006, 2007): 85 if student['studycourse'].entry_session in ( 86 2005, 2006, 2007) and student.current_mode == 'ug_pt': 86 87 amount -= 20000.0 87 88 elif student.is_postgrad and student.state == PAID:
Note: See TracChangeset for help on using the changeset viewer.