Changeset 1286 for WAeUP_SRP/trunk/skins
- Timestamp:
- 12 Jan 2007, 22:27:43 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 4 added
- 1 deleted
- 8 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> -
WAeUP_SRP/trunk/skins/waeup_student/getSchoolFeePrefix.py
r1274 r1286 18 18 if not res: 19 19 logger.info('"%s","certificate not found", "%s"' % (student_id,course)) 20 prefix = " "21 else: 20 prefix = "--" 21 else: 22 22 prefix = res[0].getObject().getContent().school_fee_code 23 23 if not prefix or prefix == 'none': -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r1179 r1286 150 150 row['review_state'] = so.review_state 151 151 if info['review_state'] in ('returning', 152 'school_fee_p in_entered',152 'school_fee_paid', 153 153 'courses_registered', 154 154 'courses_validated',): … … 163 163 so.portal_type not in ('StudentPume',) or\ 164 164 so.portal_type == 'StudentStudyCourse' 165 165 166 166 items.append(row) 167 167 info['items'] = items -
WAeUP_SRP/trunk/skins/waeup_student/getStudentWorkflowInfo.py
r1184 r1286 29 29 review_state = info['review_state'] = wf.getInfoFor(student,'review_state',None) 30 30 info['returning'] = review_state in ('returning', 31 'school_fee_p in_entered',31 'school_fee_paid', 32 32 'courses_registered', 33 33 'courses_validated', -
WAeUP_SRP/trunk/skins/waeup_student/pay_by_sc_form.pt
r1274 r1286 13 13 </metal:block> 14 14 <metal:block fill-slot="main"> 15 <h3>Pay Your 200 5/2006 Schoolfee with Scratchcart!</h3>15 <h3>Pay Your 2006/2007 School Fee by Scratch Card!</h3> 16 16 <br /> 17 17 <div tal:replace="structure rendered_main" /> -
WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt
r1184 r1286 115 115 </td></tr> 116 116 </span> 117 <span tal:condition="python:info['review_state']=='school_fee_p in_entered'">117 <span tal:condition="python:info['review_state']=='school_fee_paid'"> 118 118 <tr><td class="active"> 119 119 <a href="" tal:attributes="href string:${info/url}/student_view"> … … 122 122 </td></tr> 123 123 </span> 124 <span tal:condition="python:info['review_state']!='school_fee_p in_entered'">124 <span tal:condition="python:info['review_state']!='school_fee_paid'"> 125 125 <tr><td> 126 126 School fee paid -
WAeUP_SRP/trunk/skins/waeup_student/search_students_form.pt
r1259 r1286 18 18 </span> 19 19 <span tal:condition="allowed" tal:omit-tag=""> 20 <a href="statistics_view"><strong>Student Statistics</strong></a> 20 <a href="statistics_new_view"><strong>New Student Statistics</strong></a> 21 22 <a href="statistics_ret_view"><strong>Returning Student Statistics</strong></a> 21 23 <h3> Search Student Section</h3><br /> 22 24 You are logged in as member <span tal:replace="info/member|nothing" />
Note: See TracChangeset for help on using the changeset viewer.