- Timestamp:
- 11 Nov 2022, 16:35:04 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py
r17107 r17160 82 82 amount = getattr(certificate, 'school_fee_2', 0.0) 83 83 else: 84 # Second instalment can be paid in all states. 85 if category == 'secondinstal': 86 if student.is_fresh: 87 amount = 0.34 * getattr(certificate, 'school_fee_1', 0.0) 88 else: 89 amount = 0.34 * getattr(certificate, 'school_fee_2', 0.0) 84 90 if student.state == CLEARED: 85 91 amount = getattr(certificate, 'school_fee_1', 0.0) … … 107 113 u'Session configuration object is not available.' 108 114 ), None 109 110 if category == 'secondinstal': 111 amount *= 0.34 112 elif category == 'schoolfee_1': 115 if category == 'schoolfee_1': 113 116 amount *= 0.66 114 117 elif category == 'clearance':
Note: See TracChangeset for help on using the changeset viewer.