72 lines
2.4 KiB
Smarty
72 lines
2.4 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
{if ($method->result == false)}
|
|
{$block->display('core:method_error')}
|
|
{else}
|
|
{$method->exe('invoice','has_unpaid')}
|
|
{if $has_unpaid}
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="body">
|
|
<tr>
|
|
<td valign="top">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td><div style="text-align: center;">{t}You presently have unpaid invoices totaling:{/t} <b>{$has_unpaid}</b>.</div></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
|
|
{include file='file:../core/user_search_show_pre.tpl'}
|
|
|
|
<!-- BEGIN THE RESULTS CONTENT AREA -->
|
|
<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/user_search_show_tr_record.tpl'}
|
|
<td>{$record.id}</td>
|
|
<td>{$list->date_time($record.date_orig)}</td>
|
|
<td><div style="text-align: right">{$list->format_currency_num($record.total_amt,$record.actual_billed_currency_id)}</div></td>
|
|
<td><div style="text-align: right">{$list->format_currency_num($record.balance,$record.actual_billed_currency_id)}</div></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}
|
|
</td>
|
|
</tr>
|
|
{/foreach}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</form>
|
|
</div>
|
|
|
|
<div>
|
|
<br/>
|
|
{if $has_unpaid}<input value="{t}Pay Selected{/t}" type="button" onclick="mass_do('',module+':checkout_multiple',limit,module);"/>{/if}
|
|
<input type="submit" name="Submit" value="{t}View{/t}" onclick="mass_do('',module+':user_view',limit,module);"/>
|
|
</div>
|
|
{/if}
|