Changeset 2162 for WAeUP_SRP/trunk


Ignore:
Timestamp:
24 Aug 2007, 20:43:30 (17 years ago)
Author:
Henrik Bettermann
Message:

store date of resubmission

Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/application.xml

    r2142 r2162  
    659659  </row>
    660660  <row>
     661   <cell name="application_date" ncols="2"/>
     662  </row>
     663  <row>
    661664   <cell name="status" ncols="2"/>
    662   </row>
    663   <row>
    664    <cell name="application_date" ncols="2"/>
    665665  </row>
    666666  <row>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/exam_types.xml

    r1449 r2162  
    1313    <item key="tc_ii" msgid="">TC II</item>
    1414    <item key="rsa" msgid="">RSA</item>
    15     <item key="nabtec" msgid="">NABTEC</item>
     15    <item key="nabtec" msgid="">NABTEB</item>
    1616    <item key="neco" msgid="">NECO</item>
    1717    <item key="ace" msgid="">ACE</item>
  • WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py

    r2161 r2162  
    6262        if not object['passport']:
    6363                object['passport'] = ''
    64         if 'submitted' in object['status']:
     64        if object['status'] and 'submitted' in object['status']:
    6565            submitted = True
    6666        if not create and (pin != object['pin'] and not context.isSectionOfficer()):
     
    137137            logger.info('%s/%s modified and submitted application record' % (member,reg_no))
    138138        elif object['status'] == 'reset':
    139             data['status'] = 'resubmitted on %s' % DateTime.DateTime().strftime('%A, %B %d, %Y') 
    140             logger.info('%s/%s modified and resubmitted application record' % (member,reg_no)) 
    141         object['status'] = data['status']   
     139            data['status'] = 'resubmitted on %s' % DateTime.DateTime().strftime('%A, %B %d, %Y')
     140            logger.info('%s/%s modified and resubmitted application record' % (member,reg_no))
     141        object['status'] = data['status']
    142142        context.applicants_catalog.modifyRecord(**data)
    143        
     143
    144144        res,psm_dummy,ds = lt.renderLayout(layout_id= 'application',
    145145                                schema_id= 'application',
Note: See TracChangeset for help on using the changeset viewer.