Changeset 3467
- Timestamp:
- 23 Apr 2008, 16:01:25 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/approve_epayment.py
r3240 r3467 47 47 doc.edit(mapping=pd) 48 48 49 #if doc.type_description.startswith('School Fee'):50 #study_course = getattr(student,'study_course')51 #try:52 #wftool.doActionFor(study_course,'open')53 #except:54 #pass55 #verdict = s_brain.verdict56 #if verdict == 'N/A':57 #verdict = ''58 #study_course.getContent().edit(mapping= {'current_level': next_level_id,59 #'current_session': next_session_id,60 #'current_verdict': next_verdict,61 #'previous_verdict': verdict,62 #})63 #if next_transition:64 #wftool.doActionFor(student,next_transition)49 if doc.category == 'schoolfee': 50 study_course = getattr(student,'study_course') 51 try: 52 wftool.doActionFor(study_course,'open') 53 except: 54 pass 55 verdict = s_brain.verdict 56 if verdict == 'N/A': 57 verdict = '' 58 study_course.getContent().edit(mapping= {'current_level': next_level_id, 59 'current_session': next_session_id, 60 'current_verdict': next_verdict, 61 'previous_verdict': verdict, 62 }) 63 if next_transition: 64 wftool.doActionFor(student,next_transition) 65 65 66 66 logger.info('%s approves epayment for %s' % (member,student_id))
Note: See TracChangeset for help on using the changeset viewer.