- Timestamp:
- 3 Nov 2011, 21:19:00 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r6990 r6993 302 302 ) 303 303 304 booking_fee = schema.Int( 305 title = u'Booking Fee', 306 default = 0, 307 ) 308 309 maint_fee = schema.Int( 310 title = u'Maintenance Fee', 311 default = 0, 312 ) 313 304 314 def getSessionString(): 305 315 """Returns the session string from the vocabulary. -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r6992 r6993 1060 1060 grok.require('waeup.handleStudent') 1061 1061 grok.template('enterpin') 1062 ac_prefix = ' CLR'1062 ac_prefix = 'HOS' 1063 1063 label = 'Add bed ticket' 1064 1064 title = 'Add bed ticket' 1065 1065 pnav = 4 1066 1066 buttonname = 'Create bed ticket' 1067 notice = '' 1067 1068 1068 1069 # To be sepezified in customization packages … … 1100 1101 return 1101 1102 bedticket = createObject(u'waeup.BedTicket') 1102 #self.applyData(bedticket, **data)1103 1103 bedticket.booking_code = pin 1104 1104 bedticket.bed = u'Test Bed' -
main/waeup.sirp/trunk/src/waeup/sirp/students/utils.py
r6992 r6993 53 53 bookin_fee = maint_fee = 0 54 54 error = u'' 55 booking_session = getSite()['configuration'].accommodation_session 56 allowed_states = getSite()['configuration'].accommodation_states 55 site_confoguration = getSite()['configuration'] 56 booking_session = site_confoguration.accommodation_session 57 allowed_states = site_confoguration.accommodation_states 57 58 session = str(booking_session) 58 59 try:
Note: See TracChangeset for help on using the changeset viewer.