Changeset 17949


Ignore:
Timestamp:
29 Oct 2024, 18:49:32 (8 weeks ago)
Author:
Henrik Bettermann
Message:

Enable application and school fee payments for Professional Diploma in Education Programmes

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

Legend:

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

    r17652 r17949  
    4242        'df': ['Digital Forensic for Professionals and Academia', 'DF'],
    4343        'law': ['Certificate in Law Programme', 'CL'],
     44        'pde': ['Professional Diploma in Education Programmes', 'PDE'],
    4445        }
    4546
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py

    r17946 r17949  
    118118                xmldict['institution_acct'] = '2001627961'
    119119                xmldict['institution_bank_id'] = '8'
    120             if student.faccode in ('PRE', 'JUPEB'):
     120            elif student.current_mode == 'pde':
     121                xmldict['institution_acct'] = '1010957205'
     122                xmldict['institution_bank_id'] = '117'
     123            elif student.faccode in ('PRE', 'JUPEB'):
    121124                xmldict['institution_acct'] = '2001627961'
    122125                xmldict['institution_bank_id'] = '8'
     
    252255            xmldict['institution_acct'] = '0093658062'
    253256            xmldict['institution_bank_id'] = '121'
     257        if self.context.__parent__.__parent__.prefix in ('pde',):
     258            xmldict['institution_acct'] = '1010957205'
     259            xmldict['institution_bank_id'] = '117'
     260            provider_amt = 500.0
    254261        xmldict['detail_ref'] = self.context.p_id
    255262        xmldict['provider_amt'] = 100 * provider_amt
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/utils/utils.py

    r17935 r17949  
    8686        'nce_ft': 'NCE Full-Time',
    8787        'nce_pt': 'NCE Part-Time',
     88        'pde': 'Professional Diploma in Education Programmes',
    8889        }
    8990
     
    100101        'df': 'Digital Forensic for Professionals and Academia',
    101102        'law': 'Certificate in Law Programme',
     103        'pde': 'Professional Diploma in Education Programmes',
    102104        }
    103105
Note: See TracChangeset for help on using the changeset viewer.