Changeset 18292


Ignore:
Timestamp:
10 Aug 2026, 05:25:44 (3 months ago)
Author:
Henrik Bettermann
Message:

Di n ot add tech fee for acceptance fee payments.

Location:
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch
Files:
2 edited

Legend:

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

    r18290 r18292  
    9090        if self.context.p_category == 'clearance':
    9191            provider_amt = 2000.0
    92             if student.current_mode in ('ug_ft', 'de_ft'):
    93                 xmldict['institution_acct'] = '3832002566'
    94                 xmldict['institution_bank_id'] = '47'
    95                 tech_fee = 18000.0
    96                 xmldict['tech_acct'] = xmldict['institution_acct']
    97                 xmldict['tech_bank_id'] = xmldict['institution_bank_id']
    98             elif student.current_mode.startswith('dp'):
     92            #if student.current_mode in ('ug_ft', 'de_ft'):
     93            #    xmldict['institution_acct'] = '3832002566'
     94            #    xmldict['institution_bank_id'] = '47'
     95            #    tech_fee = 18000.0
     96            #    xmldict['tech_acct'] = xmldict['institution_acct']
     97            #    xmldict['tech_bank_id'] = xmldict['institution_bank_id']
     98            if student.current_mode.startswith('dp'):
    9999                xmldict['institution_acct'] = '1011431799'
    100100            if student.faccode in ('PRE', 'JUPEB'):
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py

    r18017 r18292  
    103103                           self.browser.contents)
    104104        self.assertEqual(self.student.current_mode, 'ug_ft')
    105         self.assertMatches(
    106             '...<input type="hidden" name="amount" value="1975000" />...',
    107             self.browser.contents)
     105        self.assertTrue(
     106            '<input type="hidden" name="amount" value="330000" />'
     107            in self.browser.contents)
    108108        delta = timedelta(days=8)
    109109        acc_payment.creation_date -= delta
Note: See TracChangeset for help on using the changeset viewer.