Ignore:
Timestamp:
2 May 2012, 06:58:29 (12 years ago)
Author:
Henrik Bettermann
Message:

Store individual cost when creating access codes after online payment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r8268 r8322  
    11521152        if self.context.p_category == 'clearance':
    11531153            # Create CLR access code
    1154             pin, error = create_accesscode('CLR',0,student.student_id)
     1154            pin, error = create_accesscode(
     1155                'CLR',0,self.context.amount_auth,student.student_id)
    11551156            if error:
    11561157                self.flash(_('Valid callback received. ${a}',
     
    11601161        elif self.context.p_category == 'schoolfee':
    11611162            # Create SFE access code
    1162             pin, error = create_accesscode('SFE',0,student.student_id)
     1163            pin, error = create_accesscode(
     1164                'SFE',0,self.context.amount_auth,student.student_id)
    11631165            if error:
    11641166                self.flash(_('Valid callback received. ${a}',
     
    11681170        elif self.context.p_category == 'bed_allocation':
    11691171            # Create HOS access code
    1170             pin, error = create_accesscode('HOS',0,student.student_id)
     1172            pin, error = create_accesscode(
     1173                'HOS',0,self.context.amount_auth,student.student_id)
    11711174            if error:
    11721175                self.flash(_('Valid callback received. ${a}',
Note: See TracChangeset for help on using the changeset viewer.