Changeset 14520 for main/waeup.aaue


Ignore:
Timestamp:
8 Feb 2017, 10:16:49 (8 years ago)
Author:
Henrik Bettermann
Message:

Add SCHOOL-FEE-IJMBE and ACCEPTANCE-FEE-IJMBE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py

    r14376 r14520  
    107107                                      'schoolfee_1','schoolfee_2'),
    108108            'SCHOOL-FEE-FP-NEW': ('schoolfee',),
     109            'SCHOOL-FEE-IJMBE': ('schoolfee',),
    109110
    110111            'ACCEPTANCE-FEE': ('clearance',),
     
    115116            'ACCEPTANCE-FEE-PT-PG': ('clearance',),
    116117            'ACCEPTANCE-FEE-FP': ('clearance',),
     118            'ACCEPTANCE-FEE-IJMBE': ('clearance',),
    117119
    118120            'APPLICATION-FEE': ('application',),
     
    212214        if student and '-FP' not in PAYMENT_TYPE and student.current_mode == 'found':
    213215            self.output = ERROR_PART1 + 'Foundation programme student' + ERROR_PART2
     216            return
     217        if student and '-IJMBE' in PAYMENT_TYPE and student.current_mode != 'ijmbe':
     218            self.output = ERROR_PART1 + 'Not IJMBE student' + ERROR_PART2
     219            return
     220        if student and '-IJMBE' not in PAYMENT_TYPE and student.current_mode == 'ijmbe':
     221            self.output = ERROR_PART1 + 'IJMBE student student' + ERROR_PART2
    214222            return
    215223        if '-BALANCE' in PAYMENT_TYPE and results[0].p_item != 'Balance':
Note: See TracChangeset for help on using the changeset viewer.