Changeset 15432 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 29 May 2019, 11:32:31 (6 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r15426 r15432 1984 1984 @property 1985 1985 def selectable_categories(self): 1986 categories = getUtility(IKofaUtils).SELECTABLE_PAYMENT_CATEGORIES 1986 student = self.context.__parent__ 1987 categories = getUtility( 1988 IKofaUtils).selectable_payment_categories(student) 1987 1989 return sorted(categories.items(), key=lambda value: value[1]) 1988 1990 -
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r15430 r15432 184 184 } 185 185 186 SELECTABLE_PAYMENT_CATEGORIES = deepcopy(PAYMENT_CATEGORIES) 187 188 PREVIOUS_PAYMENT_CATEGORIES = deepcopy(SELECTABLE_PAYMENT_CATEGORIES) 186 def selectable_payment_categories(self, student): 187 return self.PAYMENT_CATEGORIES 188 189 PREVIOUS_PAYMENT_CATEGORIES = deepcopy(PAYMENT_CATEGORIES) 189 190 190 191 REPORTABLE_PAYMENT_CATEGORIES = {
Note: See TracChangeset for help on using the changeset viewer.