Changeset 1813 for WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
- Timestamp:
- 23 May 2007, 19:23:45 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1789 r1813 91 91 #from Products.zdb import set_trace;set_trace() 92 92 if s_review_state == 'returning' and load_passport and 'passport' not in app_doc.objectIds(): 93 msg = context.waeup_tool.loadStudentFoto(student) 93 folder = 'returning_import' 94 res = context.students_catalog(id = str(member)) 95 filename = res['matric_no'].upper() 96 msg = context.waeup_tool.loadStudentFoto(student,filename,folder) 94 97 logger.info('%s, %s' % (member,msg)) 95 elif s_review_state in ("student_created","admitted") and\ 98 if s_review_state == 'admitted' and load_passport and 'passport' not in app_doc.objectIds(): 99 folder = 'pictures_admitted_latest' 100 filename = app_doc.jamb_reg_no.replace('/','_') 101 msg = context.waeup_tool.loadStudentFoto(student,filename,folder) 102 logger.info('%s, %s' % (member,msg)) 103 if s_review_state in ("student_created","admitted") and\ 96 104 a_review_state == 'created' : 97 105 wftool.doActionFor(student_app,'open')
Note: See TracChangeset for help on using the changeset viewer.