Changeset 3863 for WAeUP_SRP/trunk/skins
- Timestamp:
- 20 Jan 2009, 08:22:52 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py
r3784 r3863 15 15 logger = logging.getLogger('Skins.getAccommodationInfo') 16 16 import DateTime 17 18 booking_disabled = False 17 19 18 20 request = context.REQUEST … … 121 123 info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None) 122 124 info['maintenance_paid'] = info['acco_review_state'] == "maintenance_fee_paid" 125 elif booking_disabled: 126 info['booking_allowed'] = False 123 127 124 128 d = {} … … 147 151 info['student_status'] = student_status 148 152 return info 149 -
WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
r3736 r3863 73 73 info['prod_id'] = '61' 74 74 75 gown_records = aq_payments(Eq('student_id',student_id) & Eq('category','gown')) 75 76 try: 76 77 level = int(student_record.level) 77 78 end_level = int(student_record.end_level) 78 if level >= end_level :79 if level >= end_level and not gown_records: 79 80 info['gown'] = True 80 81 except:
Note: See TracChangeset for help on using the changeset viewer.