Changeset 6937 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 25 Oct 2011, 05:40:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r6936 r6937 22 22 from zope.component import createObject 23 23 from waeup.sirp.accesscodes import ( 24 invalidate_accesscode, get_access_code, purchase_accesscode)24 invalidate_accesscode, get_access_code, create_accesscode) 25 25 from waeup.sirp.accesscodes.workflow import USED 26 26 from waeup.sirp.browser import ( … … 933 933 if self.context.p_category == 'clearance': 934 934 # Create CLR access code 935 pin, error = purchase_accesscode('CLR',0,student.student_id)935 pin, error = create_accesscode('CLR',0,student.student_id) 936 936 if error: 937 937 self.flash(error) … … 941 941 elif self.context.p_category == 'schoolfee': 942 942 # Create SFE access code 943 pin, error = purchase_accesscode('SFE',0)943 pin, error = create_accesscode('SFE',0) 944 944 if error: 945 945 self.flash(error)
Note: See TracChangeset for help on using the changeset viewer.