Changeset 17414 for main


Ignore:
Timestamp:
22 May 2023, 14:14:48 (19 months ago)
Author:
Henrik Bettermann
Message:

Fix first installment payment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py

    r17384 r17414  
    108108                            ), None                   
    109109                if category == 'schoolfee_1':
    110                     if student.is_fresh:
     110                    if student.state == CLEARED:
    111111                        amount =  round(0.69318182 * amount)
    112                     else:
     112                    elif student.state == RETURNING:
    113113                        amount = round(0.62162162 * amount)
    114114                # Second instalment can be paid in all states.
Note: See TracChangeset for help on using the changeset viewer.