Changeset 11605 for main/waeup.aaue/trunk/src/waeup
- Timestamp:
- 29 Apr 2014, 08:18:59 (11 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r11602 r11605 338 338 # Login as student 339 339 self.browser.open(self.login_path) 340 #IWorkflowState(self.student).setState('school fee paid')340 IWorkflowState(self.student).setState('school fee paid') 341 341 self.browser.open(self.login_path) 342 342 self.browser.getControl(name="form.login").value = self.student_id -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py
r11596 r11605 124 124 125 125 def test_setMatricNumber(self): 126 IWorkflowState(self.student).setState('school fee paid') 126 127 site = grok.getSite() 127 128 utils = getUtility(IStudentsUtils) -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r11596 r11605 78 78 depcode = student.depcode 79 79 year = unicode(student.entry_session)[2:] 80 if student.current_mode in ('ug_pt', 'de_pt'): 80 if student.current_mode in ('ug_pt', 'de_pt') \ 81 and student.state in (PAID, ) \ 82 and student.is_fresh: 81 83 return "PTP/%s/%s/%s/%05d" % (faccode, depcode, year, next_integer) 82 84 #if student.current_mode in ('pg_ft', 'pg_pt'):
Note: See TracChangeset for help on using the changeset viewer.