- Timestamp:
- 7 Nov 2015, 07:20:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r13380 r13405 136 136 @property 137 137 def note(self): 138 text = '' 139 if self.context.p_category == 'schoolfee' and self.context.p_level == 100: 140 text += '\n\n Amounts include Naira 250 eTranzact transaction ' 141 text += 'charge and Naira 2000 cost of matriculation gown.' 142 elif self.context.p_category in ('clearance', 'schoolfee'): 143 text += '\n\n Amounts include Naira 250 eTranzact transaction charge.' 144 return text 138 student = self.context.student 139 current_session = student['studycourse'].current_session 140 try: 141 academic_session = grok.getSite()['configuration'][str(current_session)] 142 except KeyError: 143 academic_session = None 144 text = '\n\n The amounts include: ' 145 text += '250.0 Naira Transaction Charge' 146 if self.context.p_category == 'schoolfee_incl' and academic_session: 147 text += (', %s Naira Student Welfare Assurance Fee and %s Naira Students\' Union Dues' 148 % (academic_session.welfare_fee, academic_session.union_fee)) 149 elif self.context.p_category == 'clearance_incl' and academic_session: 150 text += (', %s Naira Matriculation Gown Fee and %s Naira Lapel/File Fee' 151 % (academic_session.matric_gown_fee, academic_session.lapel_fee)) 152 return text + '.' 145 153 146 154 class CustomStudyLevelDisplayFormPage(StudyLevelDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.