Changeset 7021 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 7 Nov 2011, 17:20:24 (13 years ago)
- 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 277 277 ) 278 278 279 fee_1= schema.Int(279 school_fee_base = schema.Int( 280 280 title = u'School Fee', 281 281 default = 0, … … 297 297 ) 298 298 299 fee_2= schema.Int(299 clearance = schema.Int( 300 300 title = u'Clearance Fee', 301 301 default = 0, … … 304 304 booking_fee = schema.Int( 305 305 title = u'Booking Fee', 306 default = 0,307 )308 309 maint_fee = schema.Int(310 title = u'Maintenance Fee',311 306 default = 0, 312 307 ) -
main/waeup.sirp/trunk/src/waeup/sirp/students/utils.py
r7019 r7021 34 34 return 35 35 36 # To be specified in customization packages, see also view which36 # To be specified in customization packages, see also the view which 37 37 # calls the function. 38 # This function is for demonstration and testing only.39 38 def getPaymentDetails(category, student): 40 39 d = {} … … 53 52 d['surcharge_3'] = academic_session.surcharge_3 54 53 if category == 'schoolfee': 55 d['amount'] = academic_session. fee_154 d['amount'] = academic_session.school_fee_base 56 55 d['p_item'] = student['studycourse'].certificate.code 57 56 elif category == 'clearance': 58 57 d['p_item'] = student['studycourse'].certificate.code 59 d['amount'] = academic_session. fee_258 d['amount'] = academic_session.clearance_fee 60 59 elif category == 'bed_allocation': 61 60 d['p_item'] = getAccommodationDetails(student)['bt'] … … 63 62 return d 64 63 65 # To be specified in customization packages, see also view which64 # To be specified in customization packages, see also the view which 66 65 # calls the function. 67 # This function is for demonstration and testing only.68 66 def getAccommodationDetails(student): 69 67 d = {}
Note: See TracChangeset for help on using the changeset viewer.