Ignore:
Timestamp:
24 May 2018, 09:57:39 (7 years ago)
Author:
Henrik Bettermann
Message:

Add further payment categories.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interfaces.py

    r15021 r15022  
    314314        )
    315315
    316     eed_fee = schema.Float(
    317         title = _(u'EED Fee'),
    318         default = 0.0,
    319         required = True,
    320         )
    321 
    322     olevel_results_fee = schema.Float(
    323         title = _(u'O\' Level Results Verification'),
     316    eed_1_fee = schema.Float(
     317        title = _(u'EED 1 Fee'),
     318        default = 0.0,
     319        required = True,
     320        )
     321
     322    eed_2_fee = schema.Float(
     323        title = _(u'EED 2 Fee'),
     324        default = 0.0,
     325        required = True,
     326        )
     327
     328    olevel_results_1_fee = schema.Float(
     329        title = _(u'O\' Level Results Verification 1'),
     330        default = 0.0,
     331        required = True,
     332        )
     333
     334    olevel_results_2_fee = schema.Float(
     335        title = _(u'O\' Level Results Verification 2'),
    324336        default = 0.0,
    325337        required = True,
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py

    r15021 r15022  
    165165            xmldict['institution_acct'] = '1001174679'
    166166            xmldict['institution_bank_id'] = '123'
    167         elif self.context.p_category == 'eed':
     167        elif self.context.p_category == 'eed_1':
    168168            self.pay_item_id = '112'
    169169            xmldict['institution_acct'] = '0039782431'
    170170            xmldict['institution_bank_id'] = '11'
    171         elif self.context.p_category == 'olevel_results':
     171        elif self.context.p_category == 'eed_2':
     172            self.pay_item_id = '116'
     173            xmldict['institution_acct'] = '0039782431'
     174            xmldict['institution_bank_id'] = '11'
     175        elif self.context.p_category == 'olevel_results_1':
    172176            self.pay_item_id = '113'
     177            xmldict['institution_acct'] = '2015327204'
     178            xmldict['institution_bank_id'] = '8'
     179        elif self.context.p_category == 'olevel_results_2':
     180            self.pay_item_id = '115'
    173181            xmldict['institution_acct'] = '2015327204'
    174182            xmldict['institution_bank_id'] = '8'
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py

    r15021 r15022  
    108108        'sports': 'Sports Clearance Levy',
    109109        'siwes': 'SIWES Fee',
    110         'eed': 'EED Fee',
    111         'olevel_results': 'O\' Level Results Verification',
     110        'eed_1': 'EED 1 Fee',
     111        'eed_2': 'EED 2 Fee',
     112        'olevel_results_1': 'O\' Level Results Verification 1',
     113        'olevel_results_2': 'O\' Level Results Verification 2',
    112114        }
    113115
Note: See TracChangeset for help on using the changeset viewer.