Changeset 12136 for main/waeup.ikoba/branches
- Timestamp:
- 4 Dec 2014, 03:03:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/payment.py
r12135 r12136 64 64 return 65 65 66 @property67 def p_state_title(self):68 return payment_states.getTermByToken(self.p_state).title69 70 @property71 def category(self):72 utils = getUtility(IIkobaUtils)73 return utils.PAYMENT_CATEGORIES.get(self.p_category, None)74 75 @property76 def display_item(self):77 ikoba_utils = getUtility(IIkobaUtils)78 return ikoba_utils.getPaymentItem(self)79 80 66 81 67 class OnlinePayment(Payment):
Note: See TracChangeset for help on using the changeset viewer.