[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
templates
/
payments
/
[
Home
]
File: viewPayments.tpl
{** * templates/payments/viewPayments.tpl * * Copyright (c) 2013-2019 Simon Fraser University * Copyright (c) 2006-2009 Gunther Eysenbach, Juan Pablo Alperin, MJ Suhonos * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Table to view all past CompletedPayments * *} {strip} {assign var="pageTitle" value="common.payments"} {include file="common/header.tpl"} {/strip} <ul class="menu"> <li><a href="{url op="payments"}">{translate key="manager.payment.options"}</a></li> <li><a href="{url op="payMethodSettings"}">{translate key="manager.payment.paymentMethods"}</a></li> <li class="current"><a href="{url op="viewPayments"}">{translate key="manager.payment.records"}</a></li> </ul> <br /> <table width="100%" class="listing"> <tr> <td colspan="4" class="headseparator"> </td> </tr> <tr class="heading" valign="bottom"> <td width="25%">{translate key="common.user"}</td> <td width="25%">{translate key="manager.payment.paymentType"}</td> <td width="25%">{translate key="manager.payment.timestamp"}</td> <td width="25%">{translate key="manager.payment.action"}</td> </tr> <tr> <td colspan="4" class="headseparator"> </td> </tr> {iterate from=payments item=payment} {assign var=isSubscription value=$payment->isSubscription()} {if $isSubscription} {assign var=subscriptionId value=$payment->getAssocId()} {if $individualSubscriptionDao->subscriptionExists($subscriptionId)} {assign var=isIndividual value=true} {elseif $institutionalSubscriptionDao->subscriptionExists($subscriptionId)} {assign var=isInstitutional value=true} {else} {assign var=isIndividual value=false} {assign var=isInstitutional value=false} {/if} {/if} <tr valign="top"> <td> {assign var=user value=$userDao->getById($payment->getUserId())} {if $isJournalManager} <a class="action" href="{url op="userProfile" path=$payment->getUserId()}">{$user->getUsername()|escape|wordwrap:15:" ":true}</a> {else} {$user->getUsername()|escape|wordwrap:15:" ":true} {/if} </td> <td> {if $isSubscription} {if $isIndividual} <a href="{url op="editSubscription" path="individual"|to_array:$subscriptionId}">{$payment->getName()|escape}</a> {elseif $isInstitutional} <a href="{url op="editSubscription" path="institutional"|to_array:$subscriptionId}">{$payment->getName()|escape}</a> {else} {$payment->getName()|escape} {/if} {else} {$payment->getName()|escape} {/if} </td> <td class="nowrap"> {$payment->getTimestamp()|escape} </td> <td> <a href="{url op="viewPayment" path=$payment->getPaymentId()}" class="action">{translate key="manager.payment.details"}</a> </td> </tr> <tr> <td colspan="4" class="{if $payments->eof()}end{/if}separator"> </td> </tr> {/iterate} {if $payments->wasEmpty()} <tr> <td colspan="4" class="nodata">{translate key="manager.payment.noPayments"}</td> </tr> <tr> <td colspan="4" class="endseparator"> </td> </tr> {else} <tr> <td colspan="3" align="left">{page_info iterator=$payments}</td> <td align="right">{page_links anchor="payments" name="payments" iterator=$payments}</td> </tr> {/if} </table> {include file="common/footer.tpl"}