[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"> |
---|
| 14 | |
---|
| 15 | <tr tal:condition="python: 'passport' in info_acco['student'].application.getContent().objectIds()"> |
---|
| 16 | <td colspan="2"><img tal:attributes="src string:${here/portal_url}/campus/students/${info_acco/id}/application/passport"/> |
---|
| 17 | </td> |
---|
| 18 | </tr> |
---|
| 19 | <tr> |
---|
| 20 | <td width="180px">Student ID:</td> |
---|
[2857] | 21 | <td><span tal:content="info_acco/student_id" /></td> |
---|
[1292] | 22 | </tr> |
---|
| 23 | <tr tal:condition="info_acco/matric_no"> |
---|
| 24 | <td>Matriculation Number:</td> |
---|
| 25 | <td><span tal:content="info_acco/matric_no" /></td> |
---|
| 26 | </tr> |
---|
| 27 | <tr> |
---|
[2885] | 28 | <td>Registration Number:</td> |
---|
[1292] | 29 | <td><span tal:content="info_acco/jamb_reg_no" /></td> |
---|
| 30 | </tr> |
---|
| 31 | <tr> |
---|
| 32 | <td>Student Name:</td> |
---|
| 33 | <td><span tal:content="info_acco/name" /></td> |
---|
| 34 | </tr> |
---|
| 35 | <tr> |
---|
| 36 | <td>Sex:</td> |
---|
| 37 | <td><span tal:content="info_acco/sex" /></td> |
---|
| 38 | </tr> |
---|
| 39 | <tr> |
---|
| 40 | <td>Level:</td> |
---|
| 41 | <td><span tal:content="info_acco/level" /></td> |
---|
| 42 | </tr> |
---|
| 43 | <tr> |
---|
| 44 | <td>Bed Category:</td> |
---|
| 45 | <td><span tal:content="info_acco/student_status" /></td> |
---|
| 46 | </tr> |
---|
| 47 | <tr tal:condition="info_acco/email"> |
---|
| 48 | <td>Email:</td> |
---|
| 49 | <td><span tal:content="info_acco/email" /></td> |
---|
| 50 | </tr> |
---|
| 51 | <tr tal:condition="not:info_acco/email"> |
---|
| 52 | <td>Email:</td> |
---|
| 53 | <td><span tal:content="info_app/app_doc/app_email" /></td> |
---|
| 54 | </tr> |
---|
| 55 | <tr tal:condition="info_app/app_doc/app_mobile"> |
---|
| 56 | <td>Mobile Phone Number:</td> |
---|
| 57 | <td><span tal:content="info_app/app_doc/app_mobile" /></td> |
---|
| 58 | </tr> |
---|
| 59 | |
---|
| 60 | </table> |
---|
| 61 | |
---|
| 62 | <span tal:omit-tag="" |
---|
| 63 | tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'], |
---|
| 64 | layout_mode='view_slip', |
---|
| 65 | layout_id='student_accommodation_fe')" |
---|
| 66 | /> |
---|
| 67 | </span> |
---|
[658] | 68 | </metal:main> |
---|
[1292] | 69 | </metal:body> |
---|