- Timestamp:
- 31 Dec 2006, 09:39:14 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTables.py
r1151 r1162 139 139 #import pdb;pdb.set_trace() 140 140 if len(records) == 0: 141 return -1,"No bed of this type available "141 return -1,"No bed of this type available!" 142 142 rec = records[0] 143 143 self.modifyRecord(bed=rec.bed,student=student_id) -
WAeUP_SRP/trunk/skins/waeup_default/waeup_document_view.pt
r1161 r1162 1 1 <metal:html tal:define="info context/getDocumentInfo; 2 s_id context/getStudentId; 3 s_name context/getStudentName 2 s_name context/getStudentName; 4 3 is_so context/isSectionOfficer;" 5 4 > … … 12 11 </a> 13 12 <h3> 14 <span tal:condition="python:is_so and s_ id">13 <span tal:condition="python:is_so and s_name"> 15 14 <span tal:content="s_name" />: 16 15 </span> -
WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt
r1161 r1162 1 <metal:html tal:define="info context/getAccommodationInfo"> 2 <span tal:condition="not: info"> 3 <span tal:content="here/illegal_view" /> 4 </span> 5 <metal:block tal:condition="info"> 1 <metal:html tal:define="info_acco context/getAccommodationInfo; 2 info_app context/getApplicationInfo"> 3 4 <span tal:condition="not: info_acco"> 5 <span tal:content="here/illegal_view" /> 6 </span> 7 <metal:block tal:condition="info_acco"> 6 8 <metal:body use-macro="here/main_template/macros/master"> 7 9 <metal:main fill-slot="main"> 8 <span tal:condition="not: info">9 <metal:block use-macro="here/error_not_found/macros/not_found" />10 </span>11 10 <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3> 12 11 <br /> 13 12 <span tal:omit-tag="" 14 tal:content="structure python: info ['app_doc'].render(proxy=info['app_doc'],13 tal:content="structure python: info_app['app_doc'].render(proxy=info_app['app_doc'], 15 14 layout_mode='view_info', 16 15 layout_id='student_application_fe')" 17 16 /> 18 17 <span tal:omit-tag="" 19 tal:content="structure python: info ['acco_doc'].render(proxy=info['acco_doc'],18 tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'], 20 19 layout_mode='view_slip', 21 20 layout_id='student_accommodation_fe')" -
WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py
r1161 r1162 53 53 info['clear_doc'] = student.clearance.getContent() 54 54 info['clear_review_state'] = wf.getInfoFor(student.clearance,'review_state',None) 55 if info[' clear_review_state'] in ('clearance_requested', 'cleared_and_validated',):55 if info['review_state'] in ('clearance_requested', 'cleared_and_validated',): 56 56 info['penalty'] = info['penalty'] and\ 57 57 info['clear_doc'].entry_date.greaterThan(DateTime('2006/12/30')) -
WAeUP_SRP/trunk/skins/waeup_student/getStudentName.py
r1161 r1162 19 19 #from Products.zdb import set_trace 20 20 #set_trace() 21 if context.isStaff():22 return member.getProperty('fullname',None)23 21 if not context.isStudent(): 24 22 return None -
WAeUP_SRP/trunk/skins/waeup_student/layout_student_acco_view_slip.pt
r805 r1162 7 7 fields python:('session', 8 8 'bed', 9 'student_status',10 9 'acco_res_sc_pin', 11 10 'acco_res_date',
Note: See TracChangeset for help on using the changeset viewer.