Changeset 13881 for main/waeup.fceokene/trunk/src/waeup/fceokene/students
- Timestamp:
- 6 Jun 2016, 11:51:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r13800 r13881 270 270 if amount in (0.0, None): 271 271 return _(u'Amount could not be determined.'), None 272 # Add session specific penalty fee. 273 if category == 'schoolfee' and student.current_mode in ( 274 'ug_ft', 'de_ft'): 275 amount += academic_session.penalty_ug_ft 276 elif category == 'schoolfee' and student.current_mode in ( 277 'nce_ft',): 278 amount += academic_session.penalty_nce_ft 279 elif category == 'schoolfee' and student.current_mode in ( 280 'nce_sw', 'nce_pt'): 281 amount += academic_session.penalty_nce_pt 282 elif category == 'schoolfee' and student.current_mode in ('prence',): 283 amount += academic_session.penalty_prence 272 284 if self.samePaymentMade(student, category, p_item, p_session): 273 285 return _('This type of payment has already been made.'), None
Note: See TracChangeset for help on using the changeset viewer.