Changeset 15363 for main


Ignore:
Timestamp:
22 Mar 2019, 11:39:47 (6 years ago)
Author:
Henrik Bettermann
Message:

Improve configuration of special_ft school fee payments. Distinguish foreign and local students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r15354 r15363  
    377377                # PHARMD school fee amount is fixed and previously paid
    378378                # installments in current session are deducted.
    379                 if student.current_mode == 'special_ft':
    380                     amount = 160000.0 - self._pharmdInstallments(student)
     379                if student.current_mode == 'special_ft' \
     380                    and student.state in (RETURNING, CLEARED):
     381                    if student.is_foreigner:
     382                        amount = 260000.0 - self._pharmdInstallments(student)
     383                    else:
     384                        amount = 160000.0 - self._pharmdInstallments(student)
    381385            # Give 50% school fee discount to staff members.
    382386            if student.is_staff:
Note: See TracChangeset for help on using the changeset viewer.