- Timestamp:
- 29 Sep 2022, 06:18:06 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r16906 r17111 345 345 else: 346 346 amount = getattr(certificate, 'school_fee_1', 0.0) 347 # Old new students get a discount. 348 if student.entry_session < 2020 \ 349 and certificate.custom_float_1: 350 amount -= certificate.custom_float_1 347 351 else: 348 352 if student.is_foreigner: … … 350 354 else: 351 355 amount = getattr(certificate, 'school_fee_2', 0.0) 352 # Old returning students mightget a discount.353 if student.entry_session < 20 17\354 and certificate.custom_float_ 1:355 amount -= certificate.custom_float_ 1356 # Old returning students get a discount. 357 if student.entry_session < 2020 \ 358 and certificate.custom_float_2: 359 amount -= certificate.custom_float_2 356 360 else: 357 361 if student.state == CLEARED: … … 360 364 else: 361 365 amount = getattr(certificate, 'school_fee_1', 0.0) 366 # Old new students get a discount. 367 if student.entry_session < 2020 \ 368 and certificate.custom_float_1: 369 amount -= certificate.custom_float_1 362 370 elif student.state == PAID and student.is_postgrad: 363 371 p_session += 1 … … 402 410 amount = getattr(certificate, 'school_fee_2', 0.0) 403 411 # Old returning students might get a discount. 404 if student.entry_session < 20 17\405 and certificate.custom_float_ 1:406 amount -= certificate.custom_float_ 1412 if student.entry_session < 2020 \ 413 and certificate.custom_float_2: 414 amount -= certificate.custom_float_2 407 415 # PHARMD school fee amount is fixed and previously paid 408 416 # installments in current session are deducted.
Note: See TracChangeset for help on using the changeset viewer.