Changeset 18356 for main


Ignore:
Timestamp:
30 Oct 2026, 13:51:45 (3 weeks ago)
Author:
Henrik Bettermann
Message:

Set bank account for all pg applicants and students.

File:
1 edited

Legend:

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

    r18354 r18356  
    9696            #    xmldict['tech_acct'] = xmldict['institution_acct']
    9797            #    xmldict['tech_bank_id'] = xmldict['institution_bank_id']
     98            if student.is_postgrad:
     99                xmldict['institution_acct'] = '0080062200'
     100                xmldict['institution_bank_id'] = '105'
    98101            if student.current_mode.startswith('dp'):
    99102                xmldict['institution_acct'] = '1011431799'
    … …  
    116119            if student.current_mode == 'ug_ft':
    117120                union_due = 1500.0
    118             if student.current_mode.startswith('dp'):
     121            if student.is_postgrad:
     122                xmldict['institution_acct'] = '0080062200'
     123                xmldict['institution_bank_id'] = '105'
     124            elif student.current_mode.startswith('dp'):
    119125                xmldict['institution_acct'] = '2000092025'
    120126                xmldict['institution_bank_id'] = '8'
    … …  
    274280            xmldict['institution_acct'] = '2000092025'
    275281            xmldict['institution_bank_id'] = '8'
    276             provider_amt = 500.0           
    277282        if self.context.__parent__.__parent__.prefix in ('ijmb',):
    278283            xmldict['institution_acct'] = '2000092025'
    … …  
    281286            xmldict['institution_acct'] = '2000092025'
    282287            xmldict['institution_bank_id'] = '8'
    283             provider_amt = 500.0
    284288        if self.context.__parent__.__parent__.prefix in ('dsb',):
    285289            xmldict['institution_acct'] = '2000092025'
    286290            xmldict['institution_bank_id'] = '8'
    287             provider_amt = 500.0
     291        if self.context.__parent__.__parent__.prefix.startswith('pg'):
     292            xmldict['institution_acct'] = '0080062200'
     293            xmldict['institution_bank_id'] = '105'
    288294        xmldict['detail_ref'] = self.context.p_id
    289295        xmldict['provider_amt'] = 100 * provider_amt
Note: See TracChangeset for help on using the changeset viewer.