Changeset 1304
- Timestamp:
- 15 Jan 2007, 22:46:27 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/epayment_cb.py
r1303 r1304 42 42 context.getContent().edit(mapping=pd) 43 43 wftool.doActionFor(student,'pay_school_fee') 44 wftool.doActionFor(context,'close')44 #wftool.doActionFor(context,'close') 45 45 46 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url()) 46 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url()) -
WAeUP_SRP/trunk/skins/waeup_epayment/pay_online.py
r1303 r1304 33 33 ## logger.info('"%s","certificate not found", "%s"' % (student_id,course)) 34 34 ## sfc = "ART" 35 ##else: 35 ##else: 36 36 ## sfc = res[0].getPath().split('/')[-4] 37 37 info = {} … … 71 71 payment.getContent().edit(mapping=d) 72 72 wftool.doActionFor(payment,'close') 73 wftool.doActionFor(student,'pay_school_fee')73 #wftool.doActionFor(student,'pay_school_fee') 74 74 info['callback_url'] = "%s/payments/%s/epayment_cb" % (student.absolute_url(),p_id) 75 75 if context.portal_url().find('uniben-demo.waeup.org') >-1 or\ -
WAeUP_SRP/trunk/skins/waeup_student/getStudentWorkflowInfo.py
r1286 r1304 28 28 info['url'] = student.absolute_url() 29 29 review_state = info['review_state'] = wf.getInfoFor(student,'review_state',None) 30 info[' returning'] = review_state in ('returning',30 info['cr'] = review_state in ('returning', 31 31 'school_fee_paid', 32 32 'courses_registered', 33 33 'courses_validated', 34 34 ) 35 35 36 return info -
WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt
r1286 r1304 3 3 condition="context/isStudent"> 4 4 5 <table class="registration" tal:condition="not:info/ returning">5 <table class="registration" tal:condition="not:info/cr"> 6 6 <span tal:condition="python:path('info/review_state')=='application_pin_entered'"> 7 7 <tr><td class="active"> … … 102 102 </table> 103 103 104 <table class="registration" tal:condition="info/ returning">104 <table class="registration" tal:condition="info/cr"> 105 105 <span tal:condition="python:info['review_state']=='returning'"> 106 106 <tr><td class="active"> … … 108 108 Returning 109 109 </a> 110 </td></tr>111 </span>112 <span tal:condition="python:info['review_state']!='returning'">113 <tr><td>114 Returning115 110 </td></tr> 116 111 </span>
Note: See TracChangeset for help on using the changeset viewer.