Changeset 1500 for WAeUP_SRP/trunk/skins
- Timestamp:
- 26 Feb 2007, 16:55:57 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudyCourseInfo.py
r1495 r1500 55 55 wftool.doActionFor(context,'close_for_edit') 56 56 student_review_state = context.getStudentReviewState() 57 #may_register = 0 #1 or student_review_state in ('shool_fee_payed',) 58 may_register = (student_review_state in ('shool_fee_paid',)) and\ 57 may_register = (student_review_state in ('school_fee_paid',)) and\ 59 58 current_level not in levels 60 59 levels.sort() -
WAeUP_SRP/trunk/skins/waeup_student/search_students.py
r1479 r1500 161 161 search_set = [r.id for r in res] 162 162 elif what == "jamb_reg_no": 163 st = "%s" % term.strip().lower() 164 res = context.students_catalog(jamb_reg_no=st) 163 st_l = "%s" % term.strip().lower() 164 st_u = "%s" % term.strip().upper() 165 res = aq_students(In('jamb_reg_no',(st_l,st_u))) 165 166 search_set = [r.id for r in res] 166 167 elif what == "name":
Note: See TracChangeset for help on using the changeset viewer.