Ignore:
Timestamp:
20 Mar 2012, 14:20:04 (13 years ago)
Author:
Henrik Bettermann
Message:

All fees must be float not int.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r7875 r7927  
    196196        d = {}
    197197        d['p_item'] = u''
    198         d['amount'] = 0
     198        d['amount'] = 0.0
    199199        d['error'] = u''
    200200        d['p_session'] = student['studycourse'].current_session
     
    214214            d['p_item'] = student['studycourse'].certificate.code
    215215            d['amount'] = academic_session.clearance_fee
    216             d['surcharge_1'] = 0 # no portal fee
     216            d['surcharge_1'] = 0.0 # no portal fee
    217217        elif category == 'bed_allocation':
    218218            d['p_item'] = self.getAccommodationDetails(student)['bt']
    219219            d['amount'] = academic_session.booking_fee
    220             d['surcharge_1'] = 0 # no portal fee
     220            d['surcharge_1'] = 0.0 # no portal fee
    221221        return d
    222222
Note: See TracChangeset for help on using the changeset viewer.