Changeset 2480
- Timestamp:
- 30 Oct 2007, 15:23:25 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/cps_custom/logged_in.py
r2468 r2480 69 69 70 70 student_app = getattr(student,'application',None) 71 71 72 72 ######################################################### 73 73 … … 90 90 p_review_state = wftool.getInfoFor(student_per,'review_state',None) 91 91 logger.info('%s logged in, review_state %s' % (member,s_review_state)) 92 app_doc = student_app.getContent() 92 if student_app is None: 93 logger.info('%s logged in, without application object' % (member)) 94 else: 95 app_doc = student_app.getContent() 93 96 94 97 ######################################################### … … 96 99 # save email and phone of returning students after all objects have been created 97 100 98 if request.has_key('returning') :101 if request.has_key('returning') and student_app: 99 102 email=request.get("email") 100 103 phone=request.get("phone_nr") -
WAeUP_SRP/base/skins/waeup_epayment/getPaymentsFolderInfo.py
r2466 r2480 52 52 info['query_url'] = "https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx" 53 53 review_state = info['review_state'] = s_brain.review_state 54 parttime = s_brain.mode .endswith('_pt')55 fulltime = s_brain.mode .endswith('_ft')54 parttime = s_brain.mode and s_brain.mode.endswith('_pt') 55 fulltime = s_brain.mode and s_brain.mode.endswith('_ft') 56 56 57 57 #if review_state == 'cleared_and_validated' or (parttime and review_state == 'returning'):
Note: See TracChangeset for help on using the changeset viewer.