Changeset 1286 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 12 Jan 2007, 22:27:43 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
r1283 r1286 32 32 logger.info('"%s","certificate not found", "%s"' % (student_id,course)) 33 33 prefix = "" 34 else: 34 else: 35 35 prefix = res[0].getObject().getContent().school_fee_code 36 36 if not prefix or prefix == 'none': … … 77 77 now = DateTime.DateTime() 78 78 info['date'] = now 79 info['amount'] = "n/a" 79 info['amount'] = "n/a" 80 80 pin = info['order_id'] = ds.get('pin') 81 info['type_code'] = " schoolfee_%s" % pin82 info['type_description'] = 'School fee SC %s' % pin81 info['type_code'] = "%s" % pin 82 info['type_description'] = 'School Fee SC %s' % pin 83 83 payments.invokeFactory('Payment', p_id) 84 84 payment = getattr(payments,p_id) … … 87 87 payment.getContent().edit(mapping=info) 88 88 wftool.doActionFor(payment,'close') 89 wftool.doActionFor(student,' enter_school_fee_pin')89 wftool.doActionFor(student,'pay_school_fee') 90 90 url = "%s/payments" % (student.absolute_url()) 91 91 request.RESPONSE.redirect(url) -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r1257 r1286 1 1 <metal:html tal:define="info context/getPaymentsFolderInfo; 2 is_s o info/is_so;2 is_student context/isStudent; 3 3 rows info/payments" 4 4 > … … 15 15 </a> 16 16 <h3> 17 <span tal:condition=" python:is_so">17 <span tal:condition="not:is_student"> 18 18 <span tal:content="info/student_name" />: 19 19 </span> 20 <span tal:condition="is_student"> 21 My 22 </span> 20 23 <span tal:content="here/title_or_id" /> 21 24 </h3>
Note: See TracChangeset for help on using the changeset viewer.