Changeset 14396 for main/waeup.aaue/trunk
- Timestamp:
- 13 Jan 2017, 18:58:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14378 r14396 269 269 return _("You are not allowed " 270 270 "to pay by instalments."), None 271 if student.state == CLEARED :271 if student.state == CLEARED and category != 'schoolfee_2': 272 272 amount = getattr(certificate, 'school_fee_1', 0.0) 273 273 # Cut school fee by 50% … … 279 279 if amount: 280 280 amount = gateway_net_amt(amount) / 2 + GATEWAY_AMT 281 elif student.state == RETURNING :281 elif student.state == RETURNING and category != 'schoolfee_2': 282 282 if not student.father_name: 283 283 return _("Personal data form is not properly filled."), None … … 294 294 amount = getattr(certificate, 'school_fee_2', 0.0) 295 295 # Cut school fee by 50% 296 if category in ('schoolfee_1', 'schoolfee_2')and amount:296 if category == 'schoolfee_1' and amount: 297 297 amount = gateway_net_amt(amount) / 2 + GATEWAY_AMT 298 298 else:
Note: See TracChangeset for help on using the changeset viewer.