Changeset 8322 for main/waeup.kofa/trunk/src/waeup/kofa/accesscodes
- Timestamp:
- 2 May 2012, 06:58:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/accesscode.py
r8321 r8322 588 588 return fire_transition(access_code, 'reenable', comment=comment) 589 589 590 def create_accesscode(batch_prefix, batch_num, owner):590 def create_accesscode(batch_prefix, batch_num, cost, owner): 591 591 """ 592 592 """ … … 598 598 rand_num = list(batch.getNewRandomNum())[0] 599 599 num = len(batch) + 1 600 batch.addAccessCode(num, rand_num, owner)600 batch.addAccessCode(num, rand_num, cost, owner) 601 601 batch.entry_num += 1 602 602 pin = u'%s-%s-%s' % (batch_prefix,batch_num,rand_num)
Note: See TracChangeset for help on using the changeset viewer.