Ignore:
Timestamp:
13 Jan 2023, 08:31:28 (21 months ago)
Author:
Henrik Bettermann
Message:

Add IJMB IJMB (Foundation Programme) .

File:
1 edited

Legend:

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

    r17202 r17278  
    9090                    amount = getattr(certificate, 'school_fee_2', 0.0)
    9191            else:
    92                 if student.is_jupeb:
     92                if student.faccode == 'JUPEB':
    9393                    if not self._clearancePaymentMade(student):
    9494                        return _(u'Acceptance fee must be paid first.'), None
     
    118118                            ), None
    119119                    amount = getattr(certificate, 'school_fee_2', 0.0)
    120             if amount and not local(student) and not student.is_jupeb \
    121                 and student.faccode != 'PRE':
     120            if amount and not local(student) and not student.faccode in ('PRE', 'JUPEB'):
    122121                amount += 40000
    123122        elif category == 'clearance':
     
    133132            if student.faccode == 'PRE':
    134133                amount = 20000.0
    135             if student.is_jupeb:
     134            if student.faccode == 'JUPEB':
    136135                amount = 25000.0
    137136        elif category == 'bed_allocation':
Note: See TracChangeset for help on using the changeset viewer.