This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/themes/default/blocks/invoice/InvoiceSoon.tpl

46 lines
1.9 KiB
Smarty
Raw Normal View History

2010-11-29 22:41:08 +00:00
{assign var=meth value=':'|explode:$VAR._page}
<!-- {$meth.0}:{$meth.1} -->
{$method->exetm($meth.0,$meth.1)}
{if ($method->result == false)}
{$block->display('core:method_error')}
{else}
{include file='file:../core/search_show_pre.tpl'}
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
{$method->exe_noauth($meth.0,'tpl_search_show')}
{foreach from=$search_show item=record}
{include file='file:../core/search_show_tr_record.tpl' module='service'}
<td>{$record.last_name}, {$record.first_name}</td>
<td>{$record.sid} ({$record.sku})</td>
<td>{$record.invoice_date}</td>
<td style="text-align: right;">{$list->format_currency_num($record.price,$record.billed_currency_id)}</td>
<td style="text-align: center;">
{if $record.billing_status == '1'}
<img src="themes/{$THEME_NAME}/images/icons/add_16.gif" alt="" style="border: 0px;"/>
{else}
<img src="themes/{$THEME_NAME}/images/icons/remov_16.gif" alt="" style="border: 0px;"/>
{/if}
{if $record.process_status == '1'}
<img src="themes/{$THEME_NAME}/images/icons/go_16.gif" alt="" style="border: 0px;"/>
{else}
<img src="themes/{$THEME_NAME}/images/icons/stop_16.gif" alt="" style="border: 0px;"/>
{/if}
<a href="?_page=core:search&amp;module=service&amp;service_invoice_id={$record.sid}"><img src="themes/{$THEME_NAME}/images/icons/tools_16.gif" alt="Services" style="border: 0px;"/></a>
<a href="?_page=account:view&amp;id={$record.account_id}"><img src="themes/{$THEME_NAME}/images/icons/user_16.gif" alt="" style="border: 0px;"/></a>
</td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
</form>
</div>
{include file='file:../core/search_show_post-2.tpl'}
{/if}