Changeset 9867 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 11 Jan 2013, 23:11:32 (12 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
r9866 r9867 1483 1483 pnav = 4 1484 1484 1485 @property1486 def selectable_categories(self):1487 categories = getUtility(1488 IKofaUtils).SELECTABLE_PREVIOUS_PAYMENT_CATEGORIES1489 return sorted(categories.items())1490 1491 1485 def update(self): 1492 1486 if self.context.student.before_payment: … … 1526 1520 label = _('Add balance') 1527 1521 pnav = 4 1528 1529 @property1530 def selectable_categories(self):1531 categories = getUtility(1532 IKofaUtils).SELECTABLE_BALANCE_PAYMENT_CATEGORIES1533 return sorted(categories.items())1534 1522 1535 1523 @action(_('Create ticket'), style='primary') -
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r9866 r9867 168 168 PREVIOUS_PAYMENT_CATEGORIES = deepcopy(SELECTABLE_PAYMENT_CATEGORIES) 169 169 170 BALANCE_PAYMENT_ITEMS = deepcopy(SELECTABLE_PAYMENT_CATEGORIES) 170 BALANCE_PAYMENT_ITEMS = { 171 'schoolfee': 'School Fee', 172 } 171 173 172 174 MODE_GROUPS = {
Note: See TracChangeset for help on using the changeset viewer.