Ignore:
Timestamp:
12 Jan 2007, 22:27:43 (18 years ago)
Author:
Henrik Bettermann
Message:

new student statistics
sc payment beautified
student workflow state and transition renamed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py

    r1283 r1286  
    3232    logger.info('"%s","certificate not found", "%s"' % (student_id,course))
    3333    prefix = ""
    34 else:   
     34else:
    3535    prefix = res[0].getObject().getContent().school_fee_code
    3636    if not prefix or prefix == 'none':
     
    7777now = DateTime.DateTime()
    7878info['date'] = now
    79 info['amount'] = "n/a" 
     79info['amount'] = "n/a"
    8080pin = info['order_id'] = ds.get('pin')
    81 info['type_code'] = "schoolfee_%s" % pin
    82 info['type_description'] = 'Schoolfee SC %s' % pin
     81info['type_code'] = "%s" % pin
     82info['type_description'] = 'School Fee SC %s' % pin
    8383payments.invokeFactory('Payment', p_id)
    8484payment = getattr(payments,p_id)
     
    8787payment.getContent().edit(mapping=info)
    8888wftool.doActionFor(payment,'close')
    89 wftool.doActionFor(student,'enter_school_fee_pin')
     89wftool.doActionFor(student,'pay_school_fee')
    9090url = "%s/payments" % (student.absolute_url())
    9191request.RESPONSE.redirect(url)
Note: See TracChangeset for help on using the changeset viewer.