Changeset 1364 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 26 Jan 2007, 21:43:07 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getSchoolFeePrefix.py
r1286 r1364 12 12 return the Prefix for Schoolfee 13 13 """ 14 15 if context.portal_membership.isAnonymousUser(): 16 return None 17 18 import logging 19 logger = logging.getLogger('EPayment.getSchoolFeePrefix') 20 14 21 student_id = context.getStudentId() 15 22 sbrain = context.students_catalog(id=student_id)[0] -
WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py
r1148 r1364 46 46 ) 47 47 error = False 48 if session.get("clicked",None): 49 psm = 'Please wait a moment until "Clearance started" turns green, then click on the green link!' 50 error = True 51 logger.info('"%s","repeatedly pressed the clearance button"' % (info['id'])) 52 elif app_doc.passport is None: 53 psm = "You must upload your passport picture before you can start the registration process!" 54 error = True 55 logger.info('"%s", "tried to start clerance without passport picture"' % (info['id'])) 56 elif review_state == "clearance_pin_entered": 48 49 ##if session.get("clicked",None): 50 ## psm = 'Please wait a moment until "Clearance started" turns green, then click on the green link!' 51 ## error = True 52 ## logger.info('"%s","repeatedly pressed the clearance button"' % (info['id'])) 53 54 if review_state == "clearance_pin_entered": 57 55 psm = "You have already entered a clearance pin!" 58 56 error = True … … 62 60 error = True 63 61 logger.info('"%s","entered wrong clearance pin"' % (info['id'])) 62 elif app_doc.passport is None: 63 #psm = "You must upload your passport picture before you can start the registration process!" 64 #error = True 65 logger.info('"%s", "started clearance without passport picture"' % (info['id'])) 64 66 if error: 65 67 return context.clearance_pin_form(rendered = res, … … 90 92 91 93 return redirect("%s/clearance_edit_form" % info['clear'].absolute_url()) 94
Note: See TracChangeset for help on using the changeset viewer.