- Timestamp:
- 9 Jul 2007, 07:04:27 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1998 r2000 502 502 ###) 503 503 504 security.declarePublic('get AccommodationInfo') ###(505 def get AccommodationInfo(self,bed):506 """return AccommodationInfo"""504 security.declarePublic('getHallInfo') ###( 505 def getHallInfo(self,bed): 506 """return Hall Info""" 507 507 info = {} 508 508 hall,block,room,letter = bed.split('_') -
WAeUP_SRP/trunk/skins/waeup_accommodation/change_bed.py
r1566 r2000 52 52 d['bed'] = bed 53 53 d['student_status'] = status 54 acco_info = context.waeup_tool.get AccommodationInfo(bed)54 acco_info = context.waeup_tool.getHallInfo(bed) 55 55 d['acco_maint_code'] = acco_info.get('maintenance_code') 56 56 d['acco_maint_fee'] = acco_info.get('maintenance_fee') … … 93 93 d['bed'] = bed 94 94 d['student_status'] = status 95 acco_info = context.waeup_tool.get AccommodationInfo(bed)95 acco_info = context.waeup_tool.getHallInfo(bed) 96 96 d['acco_maint_code'] = acco_info.get('maintenance_code') 97 97 d['acco_maint_fee'] = acco_info.get('maintenance_fee') -
WAeUP_SRP/trunk/skins/waeup_accommodation/getFormattedBed.py
r1566 r2000 19 19 return bed 20 20 hall,block,room,letter = bed.split('_') 21 info = context.waeup_tool.get AccommodationInfo(bed)21 info = context.waeup_tool.getHallInfo(bed) 22 22 if info: 23 23 hall_title = info['hall_title'] -
WAeUP_SRP/trunk/skins/waeup_accommodation/reallocate_bed.py
r1566 r2000 54 54 d['bed'] = bed 55 55 d['student_status'] = status 56 acco_info = context.waeup_tool.get AccommodationInfo(bed)56 acco_info = context.waeup_tool.getHallInfo(bed) 57 57 d['acco_maint_code'] = acco_info.get('maintenance_code') 58 58 d['acco_maint_fee'] = acco_info.get('maintenance_fee') … … 98 98 d['bed'] = bed 99 99 d['student_status'] = status 100 acco_info = context.waeup_tool.get AccommodationInfo(bed)100 acco_info = context.waeup_tool.getHallInfo(bed) 101 101 d['acco_maint_code'] = acco_info.get('maintenance_code') 102 102 d['acco_maint_fee'] = acco_info.get('maintenance_fee') -
WAeUP_SRP/trunk/skins/waeup_accommodation/reserve_accommodation.py
r1566 r2000 97 97 student.invokeFactory('StudentAccommodation',acco_id) 98 98 acco = getattr(student,acco_id) 99 acco_info = context.waeup_tool.get AccommodationInfo(bed)99 acco_info = context.waeup_tool.getHallInfo(bed) 100 100 ds.set('acco_maint_code', acco_info.get('maintenance_code')) 101 101 ds.set('acco_maint_fee', acco_info.get('maintenance_fee')) -
WAeUP_SRP/trunk/skins/waeup_student/getMaintenancePrefix.py
r1164 r2000 14 14 s_info = context.getAccommodationInfo() 15 15 if s_info.has_key('acco_doc'): 16 info = context.waeup_tool.get AccommodationInfo(s_info['acco_doc'].bed)16 info = context.waeup_tool.getHallInfo(s_info['acco_doc'].bed) 17 17 if info: 18 18 return info['maintenance_code']
Note: See TracChangeset for help on using the changeset viewer.