Changeset 1210 for WAeUP_SRP/trunk


Ignore:
Timestamp:
6 Jan 2007, 08:28:17 (18 years ago)
Author:
Henrik Bettermann
Message:

Accommodation Slip reorganized (in custom)

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt

    r1162 r1210  
    1010      <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3>
    1111      <br />
    12       <span tal:omit-tag=""
    13             tal:content="structure python: info_app['app_doc'].render(proxy=info_app['app_doc'],
    14             layout_mode='view_info',
    15             layout_id='student_application_fe')"
    16             />
     12     
     13      <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
     14        <tr>
     15          <td width="180px">Student ID:</td>
     16          <td><span tal:content="info_acco/id" /></td>
     17        </tr>
     18        <tr tal:condition="info_acco/matric_no">
     19          <td>Matriculation Number:</td>
     20          <td><span tal:content="info_acco/matric_no" /></td>
     21        </tr>     
     22        <tr>
     23          <td>JAMB Registration Number:</td>
     24          <td><span tal:content="info_acco/jamb_reg_no" /></td>
     25        </tr>             
     26        <tr>
     27          <td>Student Name:</td>
     28          <td><span tal:content="info_acco/name" /></td>
     29        </tr>   
     30        <tr>
     31          <td>Sex:</td>
     32          <td><span tal:content="info_acco/sex" /></td>
     33        </tr>       
     34        <tr>
     35          <td>Bed Category:</td>
     36          <td><span tal:content="info_acco/student_status" /></td>
     37        </tr>           
     38        <tr tal:condition="info_acco/email">
     39          <td>Email:</td>
     40          <td><span tal:content="info_acco/email" /></td>
     41        </tr>     
     42        <tr tal:condition="not:info_acco/email">
     43          <td>Email:</td>
     44          <td><span tal:content="info_app/app_doc/app_email" /></td>
     45        </tr> 
     46        <tr tal:condition="info_app/app_doc/app_mobile">
     47          <td>Mobile Phone Number:</td>
     48          <td><span tal:content="info_app/app_doc/app_mobile" /></td>
     49        </tr>         
     50                         
     51      </table>
     52     
    1753      <span tal:omit-tag=""
    1854            tal:content="structure python: info_acco['acco_doc'].render(proxy=info_acco['acco_doc'],
  • WAeUP_SRP/trunk/skins/waeup_student/getAccommodationInfo.py

    r1205 r1210  
    5858                    )
    5959s_brain = res[0]
     60info['matric_no']=s_brain.matric_no
     61info['jamb_reg_no']=s_brain.jamb_reg_no
     62info['name']=s_brain.name
     63info['email']=s_brain.email
     64
    6065students_object = context.portal_url.getPortalObject().campus.students
    6166res = context.results_import(matric_no = s_brain.matric_no)
     
    106111    bt += "_med"
    107112
     113info['sex']=d['sex']
     114
     115
    108116d['bt'] = bt
    109117#from Products.zdb import set_trace
  • WAeUP_SRP/trunk/skins/waeup_student/layout_student_acco_view_slip.pt

    r1162 r1210  
    1919          <div tal:attributes="class cell/widget_css_class|string:label;
    2020            id python:widget.getHtmlWidgetId()+'_widget';">
    21             <td width="180px">
     21            <td width="180px" valign="top">
    2222             <span class="dlabel"
    2323                    tal:condition="widget/label"
Note: See TracChangeset for help on using the changeset viewer.