Changeset 2184
- Timestamp:
- 6 Sep 2007, 20:25:03 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTables.py
r2113 r2184 339 339 340 340 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 342 348 records = self.searchResults(student = student_id) 343 #import pdb;pdb.set_trace()344 349 if len(records) > 0 and prefix in ('CLR','APP'): 345 350 for r in records: -
WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py
r2182 r2184 64 64 if object['status'] and 'submitted' in object['status']: 65 65 submitted = True 66 66 67 if not (create or slip) and (pin != object['pin'] and not context.isSectionOfficer()): 67 68 logger.info('%s/%s entered wrong pin %s' % (member,reg_no,pin)) 68 69 return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 70 71 72 # For the next PUME application session it should be reverted to 73 # (see comment 09/06/07 16:40:52 in ticket #328): 74 75 #if not create and (pin != object['pin'] and not context.isSectionOfficer()): 76 #logger.info('%s/%s entered wrong pin %s' % (member,reg_no,pin)) 77 #return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 78 69 79 if slip: 70 80 mode = "view_slip"
Note: See TracChangeset for help on using the changeset viewer.