Changeset 4818 for WAeUP_SRP/trunk
- Timestamp:
- 15 Jan 2010, 17:56:09 (15 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
r4295 r4818 56 56 # begin customization 57 57 58 if review_state == 'cleared_and_validated' and session not in ('07','08'): 58 # special handling of 06 payments for testing purposes 59 if review_state == 'cleared_and_validated' and session in ('06'): 60 info['payment_method'] = "online_payment" 61 elif review_state == 'returning' and info['next_session'] == '06': 62 info['payment_method'] = "both_payments" 63 elif review_state == 'cleared_and_validated' and session not in ('07','08'): 59 64 info['payment_method'] = "both_payments" 60 65 elif review_state == 'cleared_and_validated' and session in ('07','08'): -
WAeUP_SRP/trunk/skins/waeup_epayment/getSchoolFee.py
r4154 r4818 121 121 } 122 122 123 d = {} 123 124 125 next_info = context.getNextInfo(brain) 126 next_session_str = next_info['next_session_str'] 127 description = "School Fee for Session %s" % next_session_str 128 129 d = {} 130 124 131 if brain.mode.endswith('_ft'): 125 132 f = 1 … … 128 135 d['new'] = session_fees[brain.session][f] 129 136 d['returning'] = 'not set' 130 d['description'] = "School Fee for Session %s" % context.getSessionsVoc(key=brain.session)137 d['description'] =description 131 138 if pt_fees.has_key(brain.course): 132 139 d = pt_fees[brain.course] 133 d['description'] = "School Fee for Session %s, %s" % (context.getSessionsVoc(key=brain.session), 134 d['description']) 140 d['description'] = "%s (%s)" % (description,d['description']) 141 142 d['next_session_id'] = next_info['next_session_id'] 143 135 144 return d 136 145 -
WAeUP_SRP/trunk/skins/waeup_epayment/pay_interswitch.py
r4799 r4818 70 70 info['student_name'] = student_record.name 71 71 info['student_email'] = student_record.email 72 info['session_id'] = student_record.session # this holds only for new students und must be replaced when also previous session students will pay online !!!!!! 72 #info['session_id'] = student_record.session # this holds only for new students und must be replaced when also previous session students will pay online !!!!!! 73 info['session_id'] = fee_dict['next_session_id'] 73 74 info['type'] = 'online' 74 75 info['status'] = 'started'
Note: See TracChangeset for help on using the changeset viewer.