Changeset 2678 for WAeUP_SRP/base
- Timestamp:
- 16 Nov 2007, 13:41:44 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/interswitch_cb.py
r2476 r2678 82 82 next_transition = next_info['next_transition'] 83 83 next_verdict = next_info['next_verdict'] 84 previous_verdict = next_info['previous_verdict'] 84 85 85 86 if resp == '00': … … 93 94 pass 94 95 verdict = s_brain.verdict 95 if verdict == 'N/A':96 verdict = ''96 if previous_verdict == 'N/A': 97 previous_verdict = '' 97 98 study_course.getContent().edit(mapping= {'current_level': next_level_id, 98 99 'current_session': next_session_id, 99 100 'current_verdict': next_verdict, 100 'previous_verdict': verdict,101 'previous_verdict': previous_verdict, 101 102 }) 102 103 if next_transition: -
WAeUP_SRP/base/skins/waeup_epayment/pay_by_sc.py
r2664 r2678 44 44 next_transition = next_info['next_transition'] 45 45 next_verdict = next_info['next_verdict'] 46 next_previous_verdict = next_info['next_previous_verdict'] 46 47 47 48 validate = request.has_key("cpsdocument_create_button") … … 116 117 except: 117 118 pass 118 verdict = s_brain.verdict119 119 study_course.getContent().edit(mapping= {'current_level': next_level_id, 120 120 'current_session': next_session_id, 121 121 'current_verdict': next_verdict, 122 'previous_verdict': verdict,122 'previous_verdict': next_previous_verdict, 123 123 }) 124 124 if next_transition: -
WAeUP_SRP/base/skins/waeup_student/getNextInfo.py
r2664 r2678 35 35 info['next_level_id'] = next_level_id = level_id 36 36 info['next_verdict'] = verdict 37 info['next_previous_verdict'] = '' 37 38 verdicts_voc = context.portal_vocabularies.verdicts 38 39 if review_state == 'cleared_and_validated': … … 44 45 info['next_transition'] = "pay_school_fee" 45 46 info['next_verdict'] = '' 47 info['next_previous_verdict'] = verdict 46 48 if verdict in ('A','B',): 47 49 info['next_level_id'] = "%s" % (int(level_id) + 100) -
WAeUP_SRP/base/skins/waeup_student/getStudyCourseInfo.py
r2674 r2678 94 94 current_level == '100' or\ 95 95 (sbrain.mode.startswith('de') and current_level == '200')) 96 96 97 97 missing_data = has_paid and\ 98 98 current_level not in levels and\ 99 99 not (previous_verdict or sbrain.level) and\ 100 100 not (current_level == '100' or\ 101 (sbrain.mode.startswith('de') and current_level == '200')) 101 (sbrain.mode.startswith('de') and current_level == '200')) 102 102 103 103 info['missing_data'] = missing_data … … 105 105 info['create_level'] = None 106 106 student_levels_voc = context.portal_vocabularies.student_levels 107 if not missing_data:107 if may_register: 108 108 info['create_level'] = current_level 109 109 info['create_level_str'] = student_levels_voc.get(current_level) -
WAeUP_SRP/base/skins/waeup_student/study_course_view.pt
r2674 r2678 141 141 </form> 142 142 143 <div tal:condition=" not: create_level">143 <div tal:condition="info/missing_data"> 144 144 <font color='red'> 145 145 Your faculty has not yet provided the results and verdict of the previous session.
Note: See TracChangeset for help on using the changeset viewer.