Changeset 3246


Ignore:
Timestamp:
27 Feb 2008, 21:03:16 (17 years ago)
Author:
Henrik Bettermann
Message:

probably rsolves #491

Not yet tested, will be tested tomorrow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/Widgets.py

    r3228 r3246  
    15441544                    datastructure['reg_no'] = ref
    15451545                    res = self.applicants_catalog(reg_no = ref)
     1546                    if res.screening_type != screening_type_request\
     1547                          and screening_type_request != 'manage':
     1548                        err = "You are using the wrong access form!"
     1549                        s_logger.info('%s tried to use %s application form but has applied for %s' % (ref,screening_type_request,applicant.screening_type))
     1550                        break                   
    15461551                    if not res:
    15471552                        s_logger.info('%s successfully used PIN %s' % (ref,pin_str))
Note: See TracChangeset for help on using the changeset viewer.