- Timestamp:
- 22 Jun 2007, 19:56:52 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/members_search.xml
r1944 r1948 56 56 <property name="vocabulary">groups_voc</property> 57 57 </widget> 58 58 <table> 59 59 <row> 60 60 <cell name="id" ncols="2"/> … … 67 67 <cell name="email" ncols="2"/> 68 68 </row> 69 <row> 70 <cell name="groups" ncols="2"/> 71 </row> 69 72 </table> 70 73 </object> -
WAeUP_SRP/trunk/skins/waeup_epayment/interswitch_cb.py
r1944 r1948 1 ## Script (Python) " epayment_cb"1 ## Script (Python) "interswitch_cb" 2 2 ##bind container=container 3 3 ##bind context=context … … 18 18 pass 19 19 import logging 20 logger = logging.getLogger('Skins. epayment_cb')20 logger = logging.getLogger('Skins.interswitch_cb') 21 21 from AccessControl import Unauthorized 22 22 import DateTime … … 51 51 for rc,pdk in resp_codes: 52 52 pd[pdk] = request.get(rc,'') 53 if pd['resp_code'] == '00' and len(pd['resp_approved_amount']) > 4: 53 if pd['resp_code'] == '00' and len(pd['resp_approved_amount']) > 4: 54 54 pd['resp_approved_amount'] = pd['resp_approved_amount'][:-2] 55 55 else: 56 56 pd['resp_approved_amount'] = '0' 57 57 58 58 review_state = wftool.getInfoFor(context,'review_state',None) 59 59 if pd['resp_code'] == '' and review_state == 'opened': … … 80 80 except: 81 81 logger.info('%s no workflow action close' % student_id) 82 82 83 83 84 84 return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url()) -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r1946 r1948 26 26 <th>Description, Amount, Date</th> 27 27 <th>Response</th> 28 <th>Transaction code</th>28 <th>Transaction Code</th> 29 29 </tr> 30 30 <tr tal:repeat="row rows" 31 31 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 32 32 <td tal:attributes="class string:${row/confirmed}"> 33 <a target="slip" href="" tal:attributes="href string:${context/absolute_url}/${row/id}/payment_receipt"33 <a style="white-space:normal" target="slip" href="" tal:attributes="href string:${context/absolute_url}/${row/id}/payment_receipt" 34 34 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 35 35 <strong tal:content="row/title" /></a> 36 36 </td> 37 <td tal:content="row/resp_desc" />37 <td style="white-space:normal" tal:content="row/resp_desc" /> 38 38 <td tal:content="row/trans_ref" /> 39 39 <td> … … 42 42 onclick python:'return window.confirm(\'%s\')' %(cpsmcat('Are you sure? You will not be able to undo the approval.'), );" 43 43 > 44 [approve payment]44 [approve] 45 45 </a> 46 46 </td> 47 <td tal:condition="row/is_requeryable">48 <a tal:condition=" python:1"47 <td> 48 <a tal:condition="row/is_requeryable" 49 49 tal:attributes="href row/href; 50 50 onclick python:'return window.confirm(\'%s\')' %(cpsmcat('Are you sure?'), );" 51 51 > 52 [requery payment]52 [requery] 53 53 </a> 54 54 </td>
Note: See TracChangeset for help on using the changeset viewer.