Ignore:
Timestamp:
29 Jan 2024, 09:01:58 (8 months ago)
Author:
Henrik Bettermann
Message:

Reorganize bank account assignment.

File:
1 edited

Legend:

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

    r17646 r17682  
    9494                xmldict['tech_acct'] = '0092304647'
    9595                xmldict['tech_bank_id'] = '121'
     96            elif student.current_mode.startswith('dp'):
     97                xmldict['institution_acct'] = '1011431799'
    9698            if student.faccode in ('PRE', 'JUPEB'):
    9799                xmldict['institution_acct'] = '1011431799'
    98             if student.current_mode.startswith('dp'):
    99                 xmldict['institution_acct'] = '1011431799'
    100             if student.faccode == 'IJMB':
     100            elif student.faccode == 'IJMB':
    101101                xmldict['institution_acct'] = '0093658062'
    102102                xmldict['institution_bank_id'] = '121'
     
    110110            xmldict['tech_acct'] = '0213065415'
    111111            xmldict['tech_bank_id'] = '47'
     112            if student.current_mode.startswith('dp'):
     113                xmldict['institution_acct'] = '2001627961'
     114                xmldict['institution_bank_id'] = '8'
    112115            if student.faccode in ('PRE', 'JUPEB'):
    113116                xmldict['institution_acct'] = '2001627961'
    114117                xmldict['institution_bank_id'] = '8'
    115             if student.faccode == 'DELSU':
     118            elif student.faccode == 'DELSU':
    116119                xmldict['institution_acct'] = '1011036493'
    117             if student.faccode == 'NCE':
     120            elif student.faccode == 'NCE':
    118121                xmldict['institution_acct'] = '1011274462'
    119122                provider_amt = 4000.0
    120123                tech_fee = 0.0
    121             if student.faccode == 'IJMB':
     124            elif student.faccode == 'IJMB':
    122125                xmldict['institution_acct'] = '0093658062'
    123126                xmldict['institution_bank_id'] = '121'
    124             if student.current_mode.startswith('dp'):
    125                 xmldict['institution_acct'] = '2001627961'
    126                 xmldict['institution_bank_id'] = '8'
     127            elif student.faccode in ('FMED', 'FBM'):
     128                xmldict['institution_acct'] = '1011274462'
    127129            if self.context.p_item == 'Balance':
    128130                provider_amt = 0.0
Note: See TracChangeset for help on using the changeset viewer.