Changeset 17126 for main/kofacustom.iuokada/trunk/src/kofacustom
- Timestamp:
- 12 Oct 2022, 07:57:34 (2 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py
r16410 r17126 98 98 grok.require('waeup.payStudent') 99 99 100 @property 101 def target_url(self): 102 if self.context.student.depcode == 'BMS': 103 return '' 104 return self.view.url(self.view.context, self.target) 105 100 106 class GetMatricNumberActionButton(ManageActionButton): 101 107 grok.order(10) -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py
r16747 r17126 143 143 144 144 def selectable_payment_categories(self, student): 145 return self.SELECTABLE_PAYMENT_CATEGORIES 145 spc = deepcopy(self.SELECTABLE_PAYMENT_CATEGORIES) 146 if student.depcode == 'BMS': 147 del spc['schoolfee40'] 148 del spc['secondinstal'] 149 return spc 146 150 147 151 PREVIOUS_PAYMENT_CATEGORIES = {
Note: See TracChangeset for help on using the changeset viewer.