Changeset 17383 for main/kofacustom.edocons/trunk/src/kofacustom
- Timestamp:
- 17 Apr 2023, 09:10:17 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py
r17382 r17383 109 109 if category == 'schoolfee_1': 110 110 if student.is_fresh: 111 amount *= 0.695111 amount = round(0.69318182 * amount) 112 112 else: 113 amount *= 0.621621621113 amount *= round(0.62162162 * amount) 114 114 # Second instalment can be paid in all states. 115 115 if category == 'secondinstal': 116 116 if student.is_fresh: 117 amount = 0.305 * getattr(certificate, 'school_fee_1', 0.0)117 amount = round(0.30681818 * getattr(certificate, 'school_fee_1', 0.0)) 118 118 else: 119 amount = 0.378378378 * getattr(certificate, 'school_fee_2', 0.0)119 amount = round(0.37837838 * getattr(certificate, 'school_fee_2', 0.0)) 120 120 elif category == 'clearance': 121 121 try:
Note: See TracChangeset for help on using the changeset viewer.