Ignore:
Timestamp:
2 Feb 2023, 08:39:21 (22 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

    r16723 r17328  
    6767        )
    6868
     69    med_reg_fee = schema.Float(
     70        title = _(u'Medical Registration Fee'),
     71        default = 0.0,
     72        required = False,
     73        )
     74
    6975    interswitch_enabled = schema.Bool(
    7076        title = _(u'Interswitch Collegepay integration enabled'),
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py

    r17312 r17328  
    197197        # Determine bed type
    198198        bt = 'all'
    199         if student.current_level >= 300:
    200             bt = 'na'
     199        #if student.current_level >= 300:
     200        #    bt = 'na'
    201201        if student.sex == 'f':
    202202            sex = 'female'
     
    204204            sex = 'male'
    205205        special_handling = 'regular'
    206         if student.faccode in ('FLW', 'FMS'):
    207             special_handling = 'oyibu'
    208         if student.faccode in ('FET', 'FES'):
    209             special_handling = 'alero'
     206        #if student.faccode in ('FLW', 'FMS'):
     207        #    special_handling = 'oyibu'
     208        #if student.faccode in ('FET', 'FES'):
     209        #    special_handling = 'alero'
    210210        d['bt'] = u'%s_%s_%s' % (special_handling,sex,bt)
    211211        return d
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/utils/utils.py

    r17304 r17328  
    3737        #'late_registration': 'Late Course Registration Fee',
    3838        #'combi': 'Combi Payment',
     39        'med_reg':'Medical Registration Fee',
    3940        }
    4041
     
    4445        #'bed_allocation': 'Bed Reservation (free of charge)',
    4546        'hostel_maintenance': 'Hostel Fee',
     47        'med_reg':'Medical Registration Fee',
    4648        }
    4749
Note: See TracChangeset for help on using the changeset viewer.