Changeset 9405 for main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
- Timestamp:
- 24 Oct 2012, 21:31:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
r9149 r9405 28 28 from waeup.kofa.payments.interfaces import ( 29 29 IPayment, ISCPayment, IOnlinePayment, 30 payment_states , payment_categories)30 payment_states) 31 31 from waeup.kofa.utils.helpers import attrs_to_fields, get_current_principal 32 32 … … 50 50 @property 51 51 def category(self): 52 return payment_categories.getTermByToken(self.p_category).title 52 utils = getUtility(IKofaUtils) 53 return utils.PAYMENT_CATEGORIES[self.p_category] 53 54 54 55 # not used
Note: See TracChangeset for help on using the changeset viewer.