riainvoice/application/modules/invoices/views/partial_invoice_archive.php
gandhimathi Bharathirajan c940cb1a2c all files
2017-09-11 14:38:03 +05:30

32 lines
831 B
PHP

<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th><?php _trans('invoice'); ?></th>
<th><?php _trans('created'); ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($invoices_archive as $invoice) {
?>
<tr>
<td>
<a href="<?php echo site_url('invoices/download/' . basename($invoice)); ?>"
title="<?php _trans('invoice'); ?>" target="_blank">
<?php echo basename($invoice); ?>
</a>
</td>
<td>
<?php echo date("F d Y H:i:s.", filemtime($invoice)); ?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>