Changeset 13756 for main/waeup.uniben/trunk
- Timestamp:
- 1 Mar 2016, 22:21:54 (9 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/interfaces.py
r11782 r13756 82 82 ) 83 83 84 penalty_ug = schema.Float( 85 title = _(u'UG Penalty Fee'), 84 penalty_ug_ft = schema.Float( 85 title = _(u'UG Full-Time Penalty Fee'), 86 default = 0.0, 87 required = False, 88 ) 89 90 penalty_ug_pt = schema.Float( 91 title = _(u'UG Part-Time Penalty Fee'), 86 92 default = 0.0, 87 93 required = False, -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r13723 r13756 506 506 # Add penalty fee ... 507 507 # ... for cleared 508 self.app['configuration']['2004'].penalty_ug = 99.0508 self.app['configuration']['2004'].penalty_ug_ft = 99.0 509 509 # ... for returning 510 self.app['configuration']['2005'].penalty_ug = 88.0510 self.app['configuration']['2005'].penalty_ug_ft = 88.0 511 511 error, payment = utils.setPaymentDetails('schoolfee', 512 512 self.student, None, None) -
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r13631 r13756 333 333 if category == 'schoolfee' and student.is_postgrad: 334 334 amount += academic_session.penalty_pg 335 elif category == 'schoolfee': 336 amount += academic_session.penalty_ug 335 elif category == 'schoolfee' and student.current_mode.endswith('ft'): 336 amount += academic_session.penalty_ug_ft 337 elif category == 'schoolfee' and student.current_mode.endswith('pt'): 338 amount += academic_session.penalty_ug_pt 337 339 if category.startswith('tempmaint'): 338 340 p_item = getUtility(IKofaUtils).PAYMENT_CATEGORIES[category]
Note: See TracChangeset for help on using the changeset viewer.