Changeset 3373 for WAeUP_SRP/base


Ignore:
Timestamp:
25 Mar 2008, 22:07:34 (17 years ago)
Author:
Henrik Bettermann
Message:

use only first 3 characters of study course code for registration number (cest and sandwich only)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3350 r3373  
    980980        students_folder = self.portal_url.getPortalObject().campus.students
    981981        if brain.screening_type in ('cest','sandwich',):
    982             reg_no = "%s%s/07" % (brain.course1,brain.serial)
     982            reg_no = "%s%s/07" % (brain.course1[:3],brain.serial)
    983983        else:
    984984            reg_no = brain.reg_no
Note: See TracChangeset for help on using the changeset viewer.