| Server IP : 162.214.74.102 / Your IP : 216.73.216.139 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/www/lrsys_apps/vilagran/ui/theme/lrsys/ |
Upload File : |
{include file="sections/header.tpl"}
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>{$_L['List Invoices']} </h5>
<div class="ibox-tools">
<a href="{$_url}invoices/add/recurring/" class="btn btn-primary btn-xs"><i class="fa fa-plus"></i> {$_L['Add Recurring Invoice']}</a>
</div>
</div>
<div class="ibox-content">
<table class="table table-bordered table-hover sys_table">
<thead>
<tr>
<th>#</th>
<th>{$_L['Account']}</th>
<th>{$_L['Amount']}</th>
<th>{$_L['Invoice']} {$_L['Date']}</th>
<th>{$_L['Due']} {$_L['Date']}</th>
<th>{$_L['Next Invoice']}</th>
<th>{$_L['Status']}</th>
<th class="text-right">{$_L['Manage']}</th>
</tr>
</thead>
<tbody>
{foreach $d as $ds}
<tr>
<td><a href="{$_url}invoices/view/{$ds['id']}">{$ds['id']}</a></td>
<td><a href="{$_url}contacts/view/{$ds['userid']}">{$ds['account']}</a> </td>
<td>{$ds['total']}</td>
<td>{date( $_c['df'], strtotime($ds['date']))}</td>
<td>{date( $_c['df'], strtotime($ds['duedate']))}</td>
<td>{date( $_c['df'], strtotime($ds['nd']))}</td>
<td> {if $ds['status'] eq 'Unpaid'}
<span class="label label-danger">{$_L['Unpaid']}</span>
{elseif $ds['status'] eq 'Paid'}
<span class="label label-success">{$_L['Paid']}</span>
{elseif $ds['status'] eq 'Cancelled'}
<span class="label label-default">{$_L['Cancelled']}</span>
{else}
<span class="label label-info">{$ds['status']}</span>
{/if}</td>
<td class="text-right">
<a href="{$_url}invoices/view/{$ds['id']}" class="btn btn-primary btn-xs"><i class="fa fa-check"></i> {$_L['View']}</a>
<a href="{$_url}invoices/edit/{$ds['id']}" class="btn btn-info btn-xs"><i class="fa fa-pencil"></i> {$_L['Edit']}</a>
<a href="#" class="btn btn-warning btn-xs cstop" id="sid{$ds['id']}"><i class="fa fa-stop"></i> {$_L['Stop Recurring']}</a>
<a href="#" class="btn btn-danger btn-xs cdelete" id="iid{$ds['id']}"><i class="fa fa-trash"></i> {$_L['Delete']}</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{include file="sections/footer.tpl"}