Changeset 17347


Ignore:
Timestamp:
13 Mar 2023, 08:51:35 (19 months ago)
Author:
Henrik Bettermann
Message:

Setup NCE school fee payments.

Location:
main/kofacustom.unidel/trunk/src/kofacustom/unidel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py

    r17330 r17347  
    9999                xmldict['institution_acct'] = '2001627961'
    100100                xmldict['institution_bank_id'] = '8'
     101            if student.faccode == 'NCE':
     102                xmldict['institution_acct'] = '1130069220'
     103                xmldict['institution_bank_id'] = '117'
     104                provider_amt = 4000.0
     105                tech_fee = 0.0
    101106        elif self.context.p_category == 'hostel_maintenance':
    102107            xmldict['institution_acct'] = '1012551384'
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py

    r17336 r17347  
    118118                            ), None
    119119                    amount = getattr(certificate, 'school_fee_2', 0.0)
    120             if amount and not local(student) and not student.faccode in (
    121                 'PRE', 'JUPEB', 'DELSU'):
    122                 amount += 40000
     120            if amount and not local(student):
     121                if student.faccode == 'NCE':
     122                    amount += 14600
     123                elif student.faccode not in ('PRE', 'JUPEB', 'DELSU'):
     124                    amount += 40000
    123125        elif category == 'clearance':
    124126            try:
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/utils/utils.py

    r17328 r17347  
    6666        'dp_pt': 'Part-Time Diploma Programmes',
    6767        'de_ft': 'Direct Entry Full-Time Programmes',
     68        'nce_ft': 'NCE Full-Time',
     69        'nce_pt': 'NCE Part-Time',
    6870        }
    6971
Note: See TracChangeset for help on using the changeset viewer.