[1162] | 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"> |
---|
[658] | 8 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 9 | <metal:main fill-slot="main"> |
---|
[694] | 10 | <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3> |
---|
[658] | 11 | <br /> |
---|
[1211] | 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> |
---|
[1210] | 19 | |
---|
| 20 | <tr> |
---|
| 21 | <td width="180px">Student ID:</td> |
---|
| 22 | <td><span tal:content="info_acco/id" /></td> |
---|
| 23 | </tr> |
---|
| 24 | <tr tal:condition="info_acco/matric_no"> |
---|
| 25 | <td>Matriculation Number:</td> |
---|
| 26 | <td><span tal:content="info_acco/matric_no" /></td> |
---|
| 27 | </tr> |
---|
| 28 | <tr> |
---|
| 29 | <td>JAMB Registration Number:</td> |
---|
| 30 | <td><span tal:content="info_acco/jamb_reg_no" /></td> |
---|
| 31 | </tr> |
---|
| 32 | <tr> |
---|
| 33 | <td>Student Name:</td> |
---|
| 34 | <td><span tal:content="info_acco/name" /></td> |
---|
| 35 | </tr> |
---|
| 36 | <tr> |
---|
| 37 | <td>Sex:</td> |
---|
| 38 | <td><span tal:content="info_acco/sex" /></td> |
---|
| 39 | </tr> |
---|
| 40 | <tr> |
---|
| 41 | <td>Bed Category:</td> |
---|
| 42 | <td><span tal:content="info_acco/student_status" /></td> |
---|
| 43 | </tr> |
---|
| 44 | <tr tal:condition="info_acco/email"> |
---|
| 45 | <td>Email:</td> |
---|
| 46 | <td><span tal:content="info_acco/email" /></td> |
---|
| 47 | </tr> |
---|
| 48 | <tr tal:condition="not:info_acco/email"> |
---|
| 49 | <td>Email:</td> |
---|
| 50 | <td><span tal:content="info_app/app_doc/app_email" /></td> |
---|
| 51 | </tr> |
---|
| 52 | <tr tal:condition="info_app/app_doc/app_mobile"> |
---|
| 53 | <td>Mobile Phone Number:</td> |
---|
| 54 | <td><span tal:content="info_app/app_doc/app_mobile" /></td> |
---|
| 55 | </tr> |
---|
[1211] | 56 | |
---|
[1210] | 57 | </table> |
---|
| 58 | |
---|
[658] | 59 | <span tal:omit-tag="" |
---|
[1162] | 60 | tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'], |
---|
[658] | 61 | layout_mode='view_slip', |
---|
[680] | 62 | layout_id='student_accommodation_fe')" |
---|
[658] | 63 | /> |
---|
| 64 | </metal:main> |
---|
| 65 | </metal:body> |
---|
[1096] | 66 | </metal:block> |
---|
[658] | 67 | </metal:html> |
---|