Файл: upload/module/marketplace/template/default/controller/invoice/index.html.php
Строк: 37
<?php
/**
* [PHPFOX_HEADER]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond_Benc
* @package Phpfox
* @version $Id: index.html.php 1594 2010-05-22 22:49:41Z Raymond_Benc $
*/
defined('PHPFOX') or exit('NO DICE!');
?>
{if !count($aInvoices)}
<div class="extra_info">
{phrase var='marketplace.you_do_not_have_any_invoices'}
</div>
{else}
<table class="default_table" cellpadding="0" cellspacing="0">
<tr>
<th>{phrase var='marketplace.id'}</th>
<th>{phrase var='marketplace.status'}</th>
<th>{phrase var='marketplace.price'}</th>
<th>{phrase var='marketplace.date'}</th>
</tr>
{foreach from=$aInvoices item=aInvoice}
<tr>
<td class="t_center">{$aInvoice.invoice_id}</td>
<td>{$aInvoice.status_phrase}{if $aInvoice.status === null || $aInvoice.status == 'pending'} (<a href="{url link='marketplace.purchase' invoice=$aInvoice.invoice_id}">{phrase var='marketplace.pay_now'}</a>){/if}</td>
<td>{$aInvoice.price|currency:$aInvoice.currency_id}</td>
<td>{$aInvoice.time_stamp|date}</td>
</tr>
{/foreach}
</table>
{/if}