Changeset 14954 for main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
- Timestamp:
- 14 Feb 2018, 07:16:54 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14918 r14954 313 313 if student.current_mode == 'ijmbe': 314 314 amount = academic_session.clearance_fee_ijmbe 315 elif student.current_mode == 'dp_ft': 316 amount = academic_session.clearance_fee_dp 315 317 elif student.faccode == 'FP': 316 318 amount = academic_session.clearance_fee_fp … … 371 373 amount = getattr(certificate, 'school_fee_1', 0.0) 372 374 else: 373 if student.entry_session >= 2015:375 if student.entry_session in (2015, 2016): 374 376 amount = getattr(certificate, 'school_fee_2', 0.0) 375 377 else: … … 397 399 except KeyError: 398 400 return _(u'Session configuration object is not available.'), None 399 if student.entry_session >= 2015:401 if student.entry_session in (2015, 2016): 400 402 amount = getattr(certificate, 'school_fee_2', 0.0) 401 # Cut school fee by 50%402 if category == 'schoolfee_1' and amount:403 amount = gateway_net_amt(amount) / 2 + GATEWAY_AMT404 403 else: 405 404 amount = getattr(certificate, 'school_fee_3', 0.0) 405 # Cut school fee by 50% 406 if category == 'schoolfee_1' and amount: 407 amount = gateway_net_amt(amount) / 2 + GATEWAY_AMT 406 408 elif category == 'schoolfee_2': 407 409 amount = getattr(certificate, 'school_fee_2', 0.0)
Note: See TracChangeset for help on using the changeset viewer.