Ignore:
Timestamp:
9 Feb 2024, 07:34:32 (11 months ago)
Author:
Henrik Bettermann
Message:

Add fee.

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

Legend:

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

    r17599 r17698  
    6767        )
    6868
    69     med_reg_fee = schema.Float(
    70         title = _(u'Medical Registration Fee'),
    71         default = 0.0,
    72         required = False,
    73         )
    74 
    7569    interswitch_enabled = schema.Bool(
    7670        title = _(u'Interswitch Collegepay integration enabled'),
     
    108102        )
    109103
     104    med_reg_fee = schema.Float(
     105        title = _(u'Medical Registration Fee'),
     106        default = 0.0,
     107        required = False,
     108        )
     109
     110    teaching_practice_fee = schema.Float(
     111        title = _(u'Teaching Practice Fee'),
     112        default = 0.0,
     113        required = False,
     114        )
     115
    110116    def getSessionString():
    111117        """Returns the session string from the vocabulary.
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py

    r17682 r17698  
    134134        elif self.context.p_category == 'med_reg':
    135135            xmldict['institution_acct'] = '1011265606'
     136        elif self.context.p_category == 'teaching_practice':
     137            xmldict['institution_acct'] = '1005399320'
     138            xmldict['institution_bank_id'] = '8'
    136139        self.pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch
    137140        # Already now it becomes an Interswitch payment. We set the net amount
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/utils/utils.py

    r17598 r17698  
    3838        #'combi': 'Combi Payment',
    3939        'med_reg':'Medical Registration Fee',
     40        'teaching_practice':'Teaching Practice Fee',
    4041        }
    4142
     
    4647        'hostel_maintenance': 'Hostel Fee',
    4748        'med_reg':'Medical Registration Fee',
     49        'teaching_practice':'Teaching Practice Fee',
    4850        }
    4951
Note: See TracChangeset for help on using the changeset viewer.