Changeset 4121 for WAeUP_SRP/trunk


Ignore:
Timestamp:
10 May 2009, 09:15:06 (16 years ago)
Author:
Henrik Bettermann
Message:

prepare: use pin for application reg_number instead of pin_n
must be activated for next application period

Location:
WAeUP_SRP/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Widgets.py

    r3998 r4121  
    16461646            s_logger.info('%s entered invalid PIN with length %d' % (member_id,len(n)))
    16471647        elif self.reference == "":
     1648            # see fceokene #147
    16481649            ref = n
     1650            #ref = pin
    16491651        else:
    16501652            ref = datastructure[self.reference]
     
    20212023            pict.write(fileupload.read())
    20222024            pict.close()
    2023 
    2024 
    20252025        return True
    20262026
  • WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py

    r4116 r4121  
    6464deaddates['pume'] = DateTime.DateTime(pprops.date1)
    6565deaddates['pde'] = DateTime.DateTime(pprops.date2)
    66 deaddates['prence'] = DateTime.DateTime('2007/12/4 23:59')
     66deaddates['prence'] = DateTime.DateTime(pprops.date1)
    6767deaddates['pce'] = DateTime.DateTime('2007/08/12 23:59')
    6868deaddates['cest'] = DateTime.DateTime(pprops.date3)
     
    131131for co_name,co_dict in configuration:
    132132    info[co_name] = co_dict[screening_type]
    133 #set_trace()
    134133# the reg_no is a hidden field in the form
    135134reg_no = request.form.get('reg_no','').upper()
     135
    136136if not reg_no:
    137137    # validate form if no reg_no specified
     
    159159                                           )
    160160    if without_reg_no:
     161        ## see fceokene #147
    161162        reg_no = ds.get('pin_n','').upper()
     163        #reg_no = ds.get('pin_p') + ds.get('pin_b') + ds.get('pin_n')
    162164    else:
    163165        reg_no = ds.get('reg_no')
    164166info['reg_no'] = reg_no
     167
    165168brains = context.applicants_catalog(reg_no = reg_no.upper())
    166169if len(brains) == 1:
Note: See TracChangeset for help on using the changeset viewer.