Ignore:
Timestamp:
19 Jul 2023, 16:41:44 (16 months ago)
Author:
Henrik Bettermann
Message:

100_ now indicates first year only payments.

File:
1 edited

Legend:

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

    r17481 r17494  
    426426                    additional += int(item)
    427427                except:
    428                     pass
     428                    # 100_ indicates first year payment only
     429                    if student.state == CLEARED:
     430                        try:
     431                            additional += int(item.split('_')[1])
     432                        except:
     433                            pass
    429434            amount = float(schoolfees[0])
    430435            additional -= amount
Note: See TracChangeset for help on using the changeset viewer.