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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.