Changeset 980


Ignore:
Timestamp:
2 Dec 2006, 07:18:27 (18 years ago)
Author:
Henrik Bettermann
Message:

JAMB First Choice is lost in import data and must not be shown

Location:
WAeUP_SRP/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Students.py

    r975 r980  
    336336                 'jamb_sex': "Sex",
    337337                 'jamb_state': "State",
    338                  'jamb_first_cos': "AdminCourse",
     338##                 'jamb_first_cos': "AdminCourse",
    339339                 'faculty': "AdminFaculty",
    340340                 'course_code': "AdmitCoscode",
     
    343343                 'jamb_lga': "LGA",
    344344                 'app_email': "email",
     345                 'app_mobile': "PhoneNumbers",
    345346                 }
    346347        csv_fields = [f[1] for f in csv_d.items()]
     
    375376                                     'SearchableText': jamb_reg_no })
    376377            if res:
    377                 em = 'Student with REG-NO %s already exists\n' % jamb_reg_no
     378                em = 'Student with RegNo %s already exists\n' % jamb_reg_no
    378379                logger.info(em)
    379380                jamb['Error'] = "Student exists"
     
    417418                         #'jamb_state',
    418419                         'jamb_score',
    419                          'jamb_first_cos',
     420##                         'jamb_first_cos',
    420421                         'jamb_sex',
    421422                         'jamb_state',
    422423                         'jamb_lga',
    423424                         'app_email',
     425                         'app_mobile',
    424426                         )
    425427            for f in da_fields:
     
    521523            study_course.getContent().edit(mapping=dsc)
    522524            self.students_catalog.addRecord(**catalog_entry)
    523             if tr_count > 1000:
     525            if tr_count > 10:
    524526                if len(no_import) > 1:
    525527                    open("%s/import/%s_not_imported.csv" % (i_home,name),"w+").write(
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r977 r980  
    1515     condition_expr="not: member"
    1616     url_expr="python:"%s/login_staff?%s" % (portal_url, modules["urllib"].urlencode({"came_from": request.URL}))"
    17      visible="False">
     17     visible="True">
    1818   <permission>View</permission>
    1919  </action>
     
    140140     visible="True">
    141141   <permission>View</permission>
    142   </action> 
     142  </action>
    143143  <action title="Unchecked Items" action_id="unchecked" category="object"
    144144     condition_expr="python:member and 'academics' in object_url"
  • WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml

    r979 r980  
    272272  </row>
    273273  <row>
    274    <cell name="jamb_first_cos" ncols="3"/>
    275   </row>
    276   <row>
    277    <cell name="jamb_second_cos" ncols="3"/>
    278   </row>
    279   <row>
    280274   <cell name="passport" ncols="3"/>
    281275  </row>
  • WAeUP_SRP/trunk/skins/waeup_student/admission_form.pt

    r979 r980  
    5757        <br />
    5858       
    59         <strong>Clearance commences on resumption and ends exactly two(2)weeks after resumption date.
    60               <br />Any breach of this directive,will result in forfeiture of the admission offer.</strong><br /><br />     
     59        <strong>Clearance commences on resumption and ends exactly two(2) weeks after resumption date.
     60              <br />Any breach of this directive, will result in forfeiture of the admission offer.</strong><br /><br />     
    6161 
    6262     
  • WAeUP_SRP/trunk/skins/waeup_student/admission_slip.pt

    r975 r980  
    4848      <br />
    4949     
    50       <strong>Clearance commences on resumption and ends exactly two(2)weeks after resumption date.
    51               Any breach of this directive,will result in forfeiture of the admission offer.</strong>
     50      <strong>Clearance commences on resumption and ends exactly two(2) weeks after resumption date.
     51              Any breach of this directive, will result in forfeiture of the admission offer.</strong>
    5252   
    5353    </metal:main>
  • WAeUP_SRP/trunk/skins/waeup_student/layout_application_view.pt

    r805 r980  
    1111                                 'app_mobile',
    1212                                 'jamb_lastname',
    13                                  'jamb_sex',
    14                                  'jamb_first_cos',
    15                                  'jamb_second_cos',)"
     13                                 'jamb_sex',)"
    1614                                 >
    1715  <table cellpadding="2" cellspacing="2" summary="layout">
Note: See TracChangeset for help on using the changeset viewer.