<?php /* Smarty version 2.6.28, created on 2017-03-13 18:17:42
         compiled from /home/solusito/public_html/templates/eco-net-v3-5/clientareainvoices.tpl */ ?>
		<div class="bigheader">
			<h2><?php echo $this->_tpl_vars['LANG']['invoices']; ?>
</h2>
		</div><!-- .bigheader -->

<p><?php echo $this->_tpl_vars['numproducts']; ?>
 <?php echo $this->_tpl_vars['LANG']['recordsfound']; ?>
,  <?php echo $this->_tpl_vars['LANG']['page']; ?>
 <?php echo $this->_tpl_vars['pagenumber']; ?>
 <?php echo $this->_tpl_vars['LANG']['pageof']; ?>
 <?php echo $this->_tpl_vars['totalpages']; ?>
</p>

<div class="table-responsive table-grey">
<table>
  <tr>
    <th><?php echo $this->_tpl_vars['LANG']['invoicestitle']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicesdatecreated']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicesdatedue']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicestotal']; ?>
</th>
    <th><?php echo $this->_tpl_vars['LANG']['invoicesstatus']; ?>
</th>
    <th>&nbsp;</th>
  </tr>
  <?php $_from = $this->_tpl_vars['invoices']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['invoice']):
?>
  <tr>
    <td><a href="viewinvoice.php?id=<?php echo $this->_tpl_vars['invoice']['id']; ?>
" target="_blank"><?php echo $this->_tpl_vars['invoice']['invoicenum']; ?>
</a></td>
    <td><?php echo $this->_tpl_vars['invoice']['datecreated']; ?>
</td>
    <td><?php echo $this->_tpl_vars['invoice']['datedue']; ?>
</td>
    <td><?php echo $this->_tpl_vars['invoice']['total']; ?>
</td>
    <td><strong><?php echo $this->_tpl_vars['invoice']['status']; ?>
</strong></td>
    <td align="center"><a href="viewinvoice.php?id=<?php echo $this->_tpl_vars['invoice']['id']; ?>
" target="_blank" class="button1 color1"><?php echo $this->_tpl_vars['LANG']['invoicesview']; ?>
</a></td>
  </tr>
  <?php endforeach; else: ?>
  <tr>
    <td colspan="6" align="center"><?php echo $this->_tpl_vars['LANG']['norecordsfound']; ?>
</td>
  </tr>
  <?php endif; unset($_from); ?>
</table>
</div>

	<ul class="navsub floatleft">
		<li><a href="clientarea.php?action=invoices&itemlimit=10">10</a></li>
		<li><a href="clientarea.php?action=invoices&itemlimit=25">25</a></li>
		<li><a href="clientarea.php?action=invoices&itemlimit=50">50</a></li>
		<li><a href="clientarea.php?action=invoices&itemlimit=100">100</a></li>
		<li><a href="clientarea.php?action=invoices&itemlimit=all"><?php echo $this->_tpl_vars['LANG']['all']; ?>
</a></li>
	</ul>
	
	<ul class="navsub floatright">
		<?php if ($this->_tpl_vars['prevpage']): ?><li><a href="clientarea.php?action=invoices&amp;page=<?php echo $this->_tpl_vars['prevpage']; ?>
">&laquo; <?php echo $this->_tpl_vars['LANG']['previouspage']; ?>
</a></li><?php endif; ?>
		<?php if ($this->_tpl_vars['nextpage']): ?><li><a href="clientarea.php?action=invoices&amp;page=<?php echo $this->_tpl_vars['nextpage']; ?>
"><?php echo $this->_tpl_vars['LANG']['nextpage']; ?>
 &raquo;</a></li><?php endif; ?>
	</ul>			
	
	<div class="clear">&nbsp;</div>