Ignore:
Timestamp:
6 Oct 2017, 10:29:10 (7 years ago)
Author:
Henrik Bettermann
Message:

Add carryover 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

    r14859 r14864  
    240240        required = True,
    241241        )
    242 
     242    carryover1_fee = schema.Float(
     243        title = _(u'1, 2 or 3 Carry-Over Courses Fee'),
     244        default = 0.0,
     245        required = True,
     246        )
     247    carryover4_fee = schema.Float(
     248        title = _(u'4 Carry-Over Courses Fee'),
     249        default = 0.0,
     250        required = True,
     251        )
     252    carryover5_fee = schema.Float(
     253        title = _(u'5 Carry-Over Courses Fee'),
     254        default = 0.0,
     255        required = True,
     256        )
     257    carryover6_fee = schema.Float(
     258        title = _(u'6 Carry-Over Courses Fee'),
     259        default = 0.0,
     260        required = True,
     261        )
     262    carryover7_fee = schema.Float(
     263        title = _(u'7 Carry-Over Courses Fee'),
     264        default = 0.0,
     265        required = True,
     266        )
     267    carryover8_fee = schema.Float(
     268        title = _(u'8 Carry-Over Courses Fee'),
     269        default = 0.0,
     270        required = True,
     271        )
     272    carryover9_fee = schema.Float(
     273        title = _(u'9 Carry-Over Courses Fee'),
     274        default = 0.0,
     275        required = True,
     276        )
     277    carryover10_fee = schema.Float(
     278        title = _(u'10 Carry-Over Courses Fee'),
     279        default = 0.0,
     280        required = True,
     281        )
    243282
    244283    def getSessionString():
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py

    r14862 r14864  
    5050
    5151SPECIAL_PAYMENT_PARAMS = {
     52
     53    'carryover1': ('101', 500.0, '1012808851', '117'),
     54    'carryover5': ('101', 500.0, '1012808851', '117'),
     55    'carryover6': ('101', 500.0, '1012808851', '117'),
     56    'carryover7': ('101', 500.0, '1012808851', '117'),
     57    'carryover8': ('101', 500.0, '1012808851', '117'),
     58    'carryover9': ('101', 500.0, '1012808851', '117'),
     59    'carryover10': ('101', 500.0, '1012808851', '117'),
     60
    5261    'certificate': ('111', 500.0, '1012808851', '117'),
    5362    'state_result': ('112', 500.0, '1012808851', '117'),
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py

    r14863 r14864  
    5555        'clearance': 'Acceptance',
    5656        'schoolfee': 'School Fee',
    57         'carryover1': 'One Carry-Over',
    58         'carryover2': 'Two Carry-Overs',
    59         'carryover3': 'Three Carry-Overs',
    60         'carryover4': 'Four Carry-Overs',
     57        'carryover1': '1, 2 or 3 Carry-Over Courses',
     58        'carryover4': '4 Carry-Over Courses',
     59        'carryover5': '5 Carry-Over Courses',
     60        'carryover6': '6 Carry-Over Courses',
     61        'carryover7': '7 Carry-Over Courses',
     62        'carryover8': '8 Carry-Over Courses',
     63        'carryover9': '9 Carry-Over Courses',
     64        'carryover10': '10 Carry-Over Courses',
    6165        'bed_allocation': 'Bed Allocation',
    6266        'hostel_maintenance': 'Hostel Maintenance',
     
    177181        'nysc_id_card': 'NYSC ID Card',
    178182        'ijmb_result':'IJMB Result',
     183        'carryover1': '1, 2 or 3 Carry-Over Courses',
     184        'carryover4': '4 Carry-Over Courses',
     185        'carryover5': '5 Carry-Over Courses',
     186        'carryover6': '6 Carry-Over Courses',
     187        'carryover7': '7 Carry-Over Courses',
     188        'carryover8': '8 Carry-Over Courses',
     189        'carryover9': '9 Carry-Over Courses',
     190        'carryover10': '10 Carry-Over Courses',
    179191        }
Note: See TracChangeset for help on using the changeset viewer.