Changeset 10842 for main/waeup.kofa/trunk/src/waeup/kofa/payments
- Timestamp:
- 11 Dec 2013, 13:21:37 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/payments
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py
r10030 r10842 49 49 p_category = schema.Choice( 50 50 title = _(u'Payment Category'), 51 default = u'schoolfee',51 #default = u'schoolfee', 52 52 source = PaymentCategorySource(), 53 53 required = True, -
main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
r10232 r10842 63 63 def category(self): 64 64 utils = getUtility(IKofaUtils) 65 return utils.PAYMENT_CATEGORIES [self.p_category]65 return utils.PAYMENT_CATEGORIES.get(self.p_category, None) 66 66 67 67 @property
Note: See TracChangeset for help on using the changeset viewer.