Changeset 459


Ignore:
Timestamp:
1 Sep 2006, 05:53:24 (18 years ago)
Author:
Henrik Bettermann
Message:

importing sex to personal too

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r458 r459  
    112112                dc = {'Title': 'Clearance Data'}
    113113                dc['matric_no'] = matric_no
    114                 lga = student.get('State') + ' / ' + student.get('LGA')               
     114                lga = student.get('State') + ' / ' + student.get('LGA')
    115115                dc['lga'] = lga
    116116                dc['nationality'] = student.get('Nationality')
     
    326326            d["lastname"] = jamb.get("NAME")
    327327            da["jamb_sex"] = jamb.get("SEX")
     328            d["sex"] = jamb.get("SEX")
    328329            da["jamb_state"] = jamb.get("STATE")
    329330            da["jamb_lga"] = jamb.get("LGA")
     
    337338        return self.REQUEST.RESPONSE.redirect("%s" % self.REQUEST.get('URL1'))
    338339    ###)
    339                
    340            
     340
     341
    341342
    342343    security.declareProtected(View,"Title")
     
    485486            return sum/course_count
    486487        return 0.0
    487    
     488
    488489InitializeClass(StudentStudyLevel)
    489490
  • WAeUP_SRP/trunk/profiles/default/actionicons.xml

    r417 r459  
    186186              title="Import Fulltime Students Results"
    187187              priority="2" icon_expr="actionicon_submit.png"/>
     188 <action-icon category="import"
     189              action_id="import_jamb_data"
     190              title="Import JAMB Data"
     191              priority="3" icon_expr="actionicon_submit.png"/>             
    188192</action-icons>
  • WAeUP_SRP/trunk/profiles/default/schemas/student_admission.xml

    r456 r459  
    1818  <property name="default_expr">python:0</property>
    1919 </field>
    20  <field name="jamb_age" meta_type="CPS Int Field">
    21   <property name="default_expr">python:20</property>
    22  </field>
     20 <field name="jamb_age" meta_type="CPS Int Field"/>
    2321 <field name="jamb_state" meta_type="CPS String Field"/>
    2422 <field name="jamb_lga" meta_type="CPS String Field"/>
     
    2826 <field name="jamb_first_uni" meta_type="CPS String Field"/>
    2927 <field name="jamb_second_uni" meta_type="CPS String Field"/>
    30  
     28
    3129 <field name="entry_mode" meta_type="CPS String Field"/>
    3230
  • WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml

    r457 r459  
    7171  <permission value="Modify portal content"/>
    7272 </action>
    73  <action title="JAMB"
    74     action_id="import_fulltime_students_results" category="import"
     73 <action title="JAMB Data"
     74    action_id="import_jamb_data" category="import"
    7575    condition_expr=""
    7676    url_expr="string:${object_url}/loadJAMBFromCSV"
Note: See TracChangeset for help on using the changeset viewer.