Changeset 4818 for WAeUP_SRP/trunk/skins/waeup_epayment/getSchoolFee.py
- Timestamp:
- 15 Jan 2010, 17:56:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset for help on using the changeset viewer.