Changeset 1613 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 21 Mar 2007, 07:18:53 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
r1568 r1613 53 53 else: 54 54 row['is_approvable'] = is_so and (review_state == "opened") 55 if so_object.type_description.startswith('School Fee'): 56 row['is_requeryable'] = (review_state == "opened") and info['review_state'] == 'cleared_and_validated' 57 else: 58 row['is_requeryable'] = is_so and (review_state == "opened") 55 59 if (review_state == "closed") and so_object.resp_code in ('SC','00','AP',): 56 60 row['confirmed'] = 'active' -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r1431 r1613 34 34 </td> 35 35 <td> 36 <a tal:condition=" python:row['is_approvable']"36 <a tal:condition="row/is_approvable" 37 37 tal:attributes="href string:${context/absolute_url}/${row/id}/approve_epayment; 38 38 onclick python:'return window.confirm(\'%s\')' %(cpsmcat('Are you sure? You will not be able to undo the approval.'), ); 39 39 "> 40 40 [approve payment] 41 </a> 42 </td> 43 <td> 44 <a tal:condition="row/is_requeryable" 45 tal:attributes="href string:${context/absolute_url}/${row/id}/requery_payment; 46 onclick python:'return window.confirm(\'%s\')' %(cpsmcat('Are you sure? You will not be able to undo the approval.'), ); 47 "> 48 [requery payment] 41 49 </a> 42 50 </td>
Note: See TracChangeset for help on using the changeset viewer.