166 lines
6.2 KiB
Smarty
166 lines
6.2 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{if $smarty.const.SESS_LOGGED != true}
|
|
{$block->display('account:user_login')}
|
|
{else}
|
|
|
|
{if $list->is_installed('radius')}
|
|
{$block->display('radius:user')}
|
|
{/if}
|
|
|
|
{$method->exe('invoice','has_unpaid')}
|
|
{if $has_unpaid}
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="body">
|
|
<tr>
|
|
<td valign="top" align="center" width="35%">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
|
<tr>
|
|
<td>
|
|
<div style="text-align: center;">
|
|
{t}You presently have unpaid invoices that total:{/t} <b>{$has_unpaid}</b><br/>
|
|
To pay all unpaid invoices now, please <a href="?_page=invoice:checkout_multiple"><b>CLICK HERE</b></a>.<br/>
|
|
To select the invoices you wish to pay, please <a href="?_page=core:user_search&module=invoice&_next_page=user_search_show&invoice_refund_status=0&invoice_billing_status=0&_next_page_one=user_view">CLICK HERE</>.</a>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br/>
|
|
{/if}
|
|
|
|
<table width="50%" border="0" cellspacing="0" cellpadding="0" class="table_background" style="margin-left: auto; margin-right: auto;">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
|
<tr>
|
|
<td style="text-align: center;">
|
|
<a href="{$SSL_URL}?_page=account:user_view">{t}View Account{/t}</a><br/>
|
|
<a href="{$SSL_URL}?_page=core:user_search&module=account_billing&_next_page=user_search_show&_next_page_one=user_view">{t}Billing Details{/t}</a><br/>
|
|
<a href="{$SSL_URL}?_page=core:user_search&module=discount&_next_page=user_search_show">{t module=account}Discounts{/t}</a><br/>
|
|
{if $smarty.const.SHOW_CONTACT_LINK}<a href="?_page=staff:staff">{t}Contact{/t}</a><br/>{/if}
|
|
{if $smarty.const.SHOW_NEWSLETTER_LINK}<a href="?_page=newsletter:newsletter">{t}Newsletter{/t}</a><br/>{/if}
|
|
{if $list->is_installed('affiliate') && $smarty.const.SHOW_AFFILIATE_LINK == 1}<a href="{$SSL_URL}?_page=affiliate:affiliate">{t}Affiliate{/t}</a>{/if}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br/>
|
|
|
|
<!-- @todo Move these blocks to the respective modules -->
|
|
<table width="100%" border="0" cellpadding="0" class="body" cellspacing="0">
|
|
<tr>
|
|
<td style="width: 50%;">
|
|
<table width="65%" border="0" cellspacing="0" cellpadding="0" class="table_background" style="margin-left: auto; margin-right: auto;">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
<tr valign="top">
|
|
<td class="table_heading">{t}Invoices{/t}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td class="row1">
|
|
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
|
<tr>
|
|
<td style="width: 75%;">{t}Due Invoices{/t}</td>
|
|
<td style="width: 25%; text-align: right;">
|
|
<a href="{$SSL_URL}?_page=core:user_search&module=invoice&_next_page=user_search_show&invoice_billing_status=0&_next_page_one=user_view">{t}List{/t}</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 75%">{t}Paid Invoices{/t}</td>
|
|
<td style="width: 25%; text-align: right;">
|
|
<a href="{$SSL_URL}?_page=core:user_search&module=invoice&_next_page=user_search_show&invoice_billing_status=1&_next_page_one=user_view">{t}List{/t}</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 75%">{t}All Invoices{/t}</td>
|
|
<td style="width: 25%; text-align: right;">
|
|
<a href="{$SSL_URL}?_page=core:user_search&module=invoice&_next_page=user_search_show&_next_page_one=user_view">{t}List{/t}</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td style="width: 50%;">
|
|
<table width="65%" border="0" cellspacing="0" cellpadding="0" class="table_background" style="margin-left: auto; margin-right: auto;">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="0">
|
|
<tr valign="top">
|
|
<td class="table_heading">{t}Services{/t}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
|
|
<tr>
|
|
<td style="width: 75%;">{t}Active Services{/t}</td>
|
|
<td style="width: 25%; text-align: right;">
|
|
<a href="{$SSL_URL}?_page=core:user_search&module=service&_next_page=user_search_show&service_active=1&_next_page_one=user_view">{t}List{/t}</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 75%;">{t}Inactive Services{/t}</td>
|
|
<td style="width: 25%; text-align: right;">
|
|
<a href="{$SSL_URL}?_page=core:user_search&module=service&_next_page=user_search_show&service_active=0&_next_page_one=user_view">{t}List{/t}</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 75%;">{t}All Services{/t}</td>
|
|
<td style="width: 25%; text-align: right;">
|
|
<a href="{$SSL_URL}?_page=core:user_search&module=service&_next_page=user_search_show&_next_page_one=user_view">{t}List{/t}</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br/>
|
|
<br/>
|
|
|
|
{if $list->is_installed('file') }
|
|
<table width="600" align="center">
|
|
<tr align="center">
|
|
<td valign="top">{$block->display('file:file')}</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
|
|
<!-- custom tracking code -->
|
|
{$method->exe('invoice','custom_tracking')}
|
|
|
|
{/if}
|