Ignore:
Timestamp:
12 Dec 2012, 10:49:16 (12 years ago)
Author:
Henrik Bettermann
Message:

Configure FCETA acceptance fee.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py

    r9783 r9796  
    122122            self.pay_item_id = '5702'
    123123            provider_amt = 1500.0
    124             if student.current_mode == 'pg_ft':
     124            if student.faccode == 'FCETA':
     125                xmldict['institution_acct'] = '5210007943'
     126                xmldict['institution_bank_id'] = '51'
     127            elif student.current_mode == 'pg_ft':
    125128                xmldict['institution_acct'] = '5330832799'
    126129                xmldict['institution_bank_id'] = '51'
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py

    r9775 r9796  
    2828#   If you enable this, please make sure the external services
    2929#   do exist really and are not bothered by being spammed by a test programme.
    30 EXTERNAL_TESTS = False
     30EXTERNAL_TESTS = True
    3131
    3232def external_test(func):
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r9728 r9796  
    107107            amount = 9650.0
    108108        elif category == 'clearance':
    109             try:
    110                 p_item = student['studycourse'].certificate.code
    111             except (AttributeError, TypeError):
     109            p_item = student.certcode
     110            if p_item is None:
    112111                return _('Study course data are incomplete.'), None
    113             if p_item in ('BSCANA', 'BSCMBC', 'BMLS', 'BSCNUR', 'BSCPHS', 'BDS',
     112            if student.faccode == 'FCETA':
     113                amount = 22500.0
     114            elif p_item in ('BSCANA', 'BSCMBC', 'BMLS', 'BSCNUR', 'BSCPHS', 'BDS',
    114115                'MBBSMED', 'MBBSNDU'):
    115116                amount = 65000.0
Note: See TracChangeset for help on using the changeset viewer.