Changeset 3321


Ignore:
Timestamp:
11 Mar 2008, 21:31:39 (17 years ago)
Author:
Henrik Bettermann
Message:

Store application pin in application object, otherwise the old registration number would be lost for CEST and Sandwich students. These students are admitted with a constructed registration number.

Location:
WAeUP_SRP
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3320 r3321  
    936936        da['jamb_sex'] = sex
    937937        da['jamb_age'] = brain.jamb_age
    938         #da['app_ac_pin'] = brain.pin
     938        da['app_reg_pin'] = brain.pin
    939939        da['jamb_lga'] = brain.jamb_lga
    940940        da['jamb_state'] = brain.jamb_state
  • WAeUP_SRP/uniben/profiles/default/layouts/student_application.xml

    r2993 r3321  
    3939  <property name="prefix">APP</property>
    4040  <property name="reference">jamb_reg_no</property>
    41  <property name="reuse_pin">False</property>
    42   </widget>
     41  <property name="reuse_pin">False</property>
     42 </widget>
     43 <widget name="app_reg_pin" meta_type="String Widget">
     44  <property name="title">Application PIN</property>
     45  <property name="fields">
     46   <element value="app_reg_pin"/>
     47  </property>
     48  <property name="label">Application PIN</property>
     49  <property name="label_edit">Application PIN</property>
     50  <property name="readonly_layout_modes">
     51   <element value="edit"/>
     52  </property>
     53  <property name="hidden_layout_modes"/>
     54  <property name="hidden_readonly_layout_modes"/>
     55  <property name="hidden_empty">True</property>
     56 </widget>
    4357 <widget name="app_email" meta_type="Email Widget">
    4458  <property name="title">Email Address</property>
     
    507521  </row>
    508522  <row>
     523   <cell name="app_reg_pin" ncols="3"/>
     524  </row> 
     525  <row>
    509526   <cell name="app_ac_date" ncols="3"/>
    510527  </row>
  • WAeUP_SRP/uniben/profiles/default/schemas/student_application.xml

    r2574 r3321  
    1818 <field name="jamb_lga" meta_type="CPS String Field"/>
    1919 <field name="jamb_state" meta_type="CPS String Field"/>
    20  
     20
    2121 <field name="jamb_reg_no" meta_type="CPS String Field">
    2222  <property name="is_searchabletext">True</property>
     
    2424 <field name="jamb_score" meta_type="CPS String Field"/>
    2525 <field name="jamb_sex" meta_type="CPS String Field"/>
    26  
     26
    2727 <field name="passport" meta_type="CPS Image Field"/>
    28  
     28
     29 <field name="app_reg_pin" meta_type="CPS String Field"/>
    2930 <field name="screening_application_date" meta_type="CPS DateTime Field"/>
    3031 <field name="date_of_birth" meta_type="CPS DateTime Field"/>
     
    3940 <field name="aos" meta_type="CPS String Field"/>
    4041
    41  
     42
    4243</object>
    4344
Note: See TracChangeset for help on using the changeset viewer.