Ignore:
Timestamp:
7 Nov 2011, 17:20:24 (13 years ago)
Author:
Henrik Bettermann
Message:

Adjust customisation and base package.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py

    r6993 r7021  
    277277        )
    278278
    279     fee_1 = schema.Int(
     279    school_fee_base = schema.Int(
    280280        title = u'School Fee',
    281281        default = 0,
     
    297297        )
    298298
    299     fee_2 = schema.Int(
     299    clearance = schema.Int(
    300300        title = u'Clearance Fee',
    301301        default = 0,
     
    304304    booking_fee = schema.Int(
    305305        title = u'Booking Fee',
    306         default = 0,
    307         )
    308 
    309     maint_fee = schema.Int(
    310         title = u'Maintenance Fee',
    311306        default = 0,
    312307        )
  • main/waeup.sirp/trunk/src/waeup/sirp/students/utils.py

    r7019 r7021  
    3434    return
    3535
    36 # To be specified in customization packages, see also view which
     36# To be specified in customization packages, see also the view which
    3737# calls the function.
    38 # This function is for demonstration and testing only.
    3938def getPaymentDetails(category, student):
    4039    d = {}
     
    5352    d['surcharge_3'] = academic_session.surcharge_3
    5453    if category == 'schoolfee':
    55         d['amount'] = academic_session.fee_1
     54        d['amount'] = academic_session.school_fee_base
    5655        d['p_item'] = student['studycourse'].certificate.code
    5756    elif category == 'clearance':
    5857        d['p_item'] = student['studycourse'].certificate.code
    59         d['amount'] = academic_session.fee_2
     58        d['amount'] = academic_session.clearance_fee
    6059    elif category == 'bed_allocation':
    6160        d['p_item'] = getAccommodationDetails(student)['bt']
     
    6362    return d
    6463
    65 # To be specified in customization packages, see also view which
     64# To be specified in customization packages, see also the view which
    6665# calls the function.
    67 # This function is for demonstration and testing only.
    6866def getAccommodationDetails(student):
    6967    d = {}
Note: See TracChangeset for help on using the changeset viewer.