Changeset 2059 for WAeUP_SRP/trunk/skins
- Timestamp:
- 26 Jul 2007, 18:09:47 (17 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
r2005 r2059 78 78 order_id = ds.get('pin_n') 79 79 p_id = "p%s" % order_id 80 pin = str(ds.get('pin')) 81 try: 82 cost = context.portal_pins(pin="".join(pin.split('-')))[0].cost 83 except: 84 cost = "n/a" 85 try: 86 x = float(cost) 87 except: 88 cost = "n/a" 89 80 90 if not hasattr(payments,p_id): 81 91 now = DateTime.DateTime() 82 92 info['date'] = now 83 info['amount'] = "n/a"84 pin = info['order_id'] = "%s" % ( ds.get('pin'))93 info['amount'] = cost 94 pin = info['order_id'] = "%s" % (pin) 85 95 info['type_code'] = "%s" % pin 86 96 info['type_description'] = 'School Fee for Session %s' % next_session_str -
WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py
r1871 r2059 21 21 member_id = str(member) 22 22 path_info = request.get('PATH_INFO').split('/') 23 ##from Products.zdb import set_trace24 ##set_trace()25 23 if mtool.isAnonymousUser(): 26 24 return None -
WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt
r1455 r2059 76 76 </form> 77 77 </span> 78 <form action="mail_next_student" method="post" class="group"> 78 <form action="mail_next_student" method="post" class="group" 79 tal:attributes="action string:${context/absolute_url}/mail_next_student"> 79 80 <input type="submit" class="context" value="Next Student Id" /> 80 81 <input name="student_id" type="text" size="8"> -
WAeUP_SRP/trunk/skins/waeup_student/student_view.pt
r1989 r2059 108 108 'ehioaiks','despej','shinakale','igadoghe','benamechi','edafeohwo')"> 109 109 <br /> 110 <form action="mail_password_form" method="post" class="group"> 110 <form action="mail_password_form" method="post" class="group" 111 tal:attributes="action string:${context/absolute_url}/mail_password_form"> 111 112 <input type="submit" class="context" value="Send Email with Authentication Data" /> 112 113 </form>
Note: See TracChangeset for help on using the changeset viewer.