[1737] | 1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
[1292] | 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info_acco context/getAccommodationInfo; |
---|
| 4 | info_app context/getApplicationInfo"> |
---|
[1302] | 5 | <span tal:condition="python: not info_acco or not info_acco['acco']"> |
---|
[1783] | 6 | <span tal:content="here/illegal_view" /> |
---|
[1292] | 7 | </span> |
---|
[1302] | 8 | <span tal:condition="python: info_acco and info_acco['acco']"> |
---|
[2885] | 9 | <h3>Hostel Allocation Slip (including Maintenance Receipt)</h3> |
---|
[2829] | 10 | |
---|
[1292] | 11 | <br /><br /> |
---|
| 12 | |
---|
| 13 | <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> |
---|
[3116] | 14 | <tr tal:condition="python: here.waeup_tool.picturesExist(('passport',),info_acco['student_id'])"> |
---|
[3123] | 15 | <td colspan="2"><img width="150" tal:attributes="src string:${here/portal_url}/viewimage/${info_acco/student_id}/passport_${info_acco/student_id}.jpg"/> |
---|
[1292] | 16 | </td> |
---|
| 17 | </tr> |
---|
| 18 | <tr> |
---|
| 19 | <td width="180px">Student ID:</td> |
---|
[2857] | 20 | <td><span tal:content="info_acco/student_id" /></td> |
---|
[1292] | 21 | </tr> |
---|
| 22 | <tr tal:condition="info_acco/matric_no"> |
---|
| 23 | <td>Matriculation Number:</td> |
---|
| 24 | <td><span tal:content="info_acco/matric_no" /></td> |
---|
| 25 | </tr> |
---|
| 26 | <tr> |
---|
[2885] | 27 | <td>Registration Number:</td> |
---|
[1292] | 28 | <td><span tal:content="info_acco/jamb_reg_no" /></td> |
---|
| 29 | </tr> |
---|
| 30 | <tr> |
---|
| 31 | <td>Student Name:</td> |
---|
| 32 | <td><span tal:content="info_acco/name" /></td> |
---|
| 33 | </tr> |
---|
| 34 | <tr> |
---|
| 35 | <td>Sex:</td> |
---|
| 36 | <td><span tal:content="info_acco/sex" /></td> |
---|
| 37 | </tr> |
---|
| 38 | <tr> |
---|
| 39 | <td>Level:</td> |
---|
[3430] | 40 | <td><span tal:content="python:context.portal_vocabularies.student_levels.get(info_acco['level'])" /></td> |
---|
[1292] | 41 | </tr> |
---|
| 42 | <tr> |
---|
| 43 | <td>Bed Category:</td> |
---|
| 44 | <td><span tal:content="info_acco/student_status" /></td> |
---|
| 45 | </tr> |
---|
| 46 | <tr tal:condition="info_acco/email"> |
---|
| 47 | <td>Email:</td> |
---|
| 48 | <td><span tal:content="info_acco/email" /></td> |
---|
| 49 | </tr> |
---|
| 50 | <tr tal:condition="not:info_acco/email"> |
---|
| 51 | <td>Email:</td> |
---|
| 52 | <td><span tal:content="info_app/app_doc/app_email" /></td> |
---|
| 53 | </tr> |
---|
[3112] | 54 | <tr tal:condition="info_app/app_doc/app_mobile|nothing"> |
---|
[1292] | 55 | <td>Mobile Phone Number:</td> |
---|
| 56 | <td><span tal:content="info_app/app_doc/app_mobile" /></td> |
---|
| 57 | </tr> |
---|
| 58 | |
---|
| 59 | </table> |
---|
| 60 | |
---|
| 61 | <span tal:omit-tag="" |
---|
| 62 | tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'], |
---|
| 63 | layout_mode='view_slip', |
---|
| 64 | layout_id='student_accommodation_fe')" |
---|
| 65 | /> |
---|
| 66 | </span> |
---|
[658] | 67 | </metal:main> |
---|
[1292] | 68 | </metal:body> |
---|