Changeset 15676 for main/kofacustom.iuokada/trunk/src
- Timestamp:
- 13 Oct 2019, 21:26:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r15672 r15676 147 147 # else: 148 148 # return _(u'No bed allocated.'), None 149 elif category == 'combi' and combi: 150 categories = getUtility(IKofaUtils).COMBI_PAYMENT_CATEGORIES 151 for cat in combi: 152 fee_name = cat + '_fee' 153 cat_amount = getattr(academic_session, fee_name, 0.0) 154 if not cat_amount: 155 return _('%s undefined.' % categories[cat]), None 156 amount += cat_amount 157 p_item += u'%s + ' % categories[cat] 158 p_item = p_item.strip(' + ') 149 159 else: 150 160 fee_name = category + '_fee'
Note: See TracChangeset for help on using the changeset viewer.