0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
templates
/
[
Home
]
File: tiki-payment-list-past.tpl
<table class="normal"> <tr> <th>{tr}ID{/tr}</th> <th>{tr}Description{/tr}</th> <th>{tr}Amount{/tr}</th> <th>{tr}Payment Date{/tr}</th> <th>{tr}Payment Type{/tr}</th> {if $tiki_p_admin eq 'y'}<th>{tr}User{/tr}</th>{/if} {if $tiki_p_admin eq 'y'}<th>{tr}Payer{/tr}</th>{/if} <th>{tr}Actions{/tr}</th> </tr> {foreach from=$payments.data item=payment} <tr> <td class="id">{$payment.paymentRequestId}</td> <td class="text">{if $payment.paymentRequestId eq $smarty.request.invoice}<strong>{$payment.description|escape}</strong>{else}{$payment.description|escape}{/if}</td> <td class="integer">{$payment.amount|escape} {$payment.currency|escape}</td> <td class="date">{$payment.payment_date|tiki_short_date|escape}</td> <td class="text">{$payment.type|escape}</td> {if $tiki_p_admin eq 'y'}<td class="text">{$payment.user|userlink}</td>{/if} {if $tiki_p_admin eq 'y'}<td class="text">{$payment.payer|userlink}</td>{/if} <td class="action"> {self_link invoice=$payment.paymentRequestId}{icon _id=page class=titletips title="{tr}View payment info{/tr}" alt="{tr}Invoice{/tr}"}{/self_link} {permission type=payment object=$payment.paymentRequestId name=payment_admin} <a class="link" href="tiki-objectpermissions.php?objectName={$payment.description|escape:url}&objectType=payment&permType=payment&objectId={$payment.paymentRequestId|escape:"url"}"> {icon _id='key' class=titletips title="{tr}Assign permissions for payments{/tr}" alt="{tr}Permissions{/tr}"} </a> {/permission} {if $cancel and ($payment.user eq $user or $tiki_p_payment_admin)} {self_link _ajax=n cancel=$payment.paymentRequestId}{icon _id=cross class=titletips title="{tr}Cancel this payment request{/tr}" alt="{tr}Cancel{/tr}"}{/self_link} {/if} </td> </tr> {/foreach} </table> {pagination_links cant=$payments.cant step=$payments.max offset=$payments.offset offset_arg=$payments.offset_arg}{/pagination_links}