Ignore:
Timestamp:
6 Sep 2007, 20:25:03 (17 years ago)
Author:
Henrik Bettermann
Message:

add only upper-case reg numbers to portal_pins table

see inline comments and also
comment 09/06/07 16:40:52 in ticket #328

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTables.py

    r2113 r2184  
    339339
    340340    def searchAndSetRecord(self, uid, student_id,prefix):
    341         #records = self.searchResults(uid=uid)
     341       
     342        # The following line must be activated after resetting the
     343        # the portal_pins table. This is to avoid duplicate entries
     344        # and disable duplicate payments.
     345       
     346        #student_id = student_id.upper()
     347
    342348        records = self.searchResults(student = student_id)
    343         #import pdb;pdb.set_trace()
    344349        if len(records) > 0 and prefix in ('CLR','APP'):
    345350            for r in records:
Note: See TracChangeset for help on using the changeset viewer.