<div class="col-lg-12">
        <table class="table table-hover table-bordered personal-task" id="tbl_invoice_monthly">
            <thead>
                <tr>
                    <th>No</th>
                    <th>Invoice No</th>
                    <th>Invoice Date</th>
                    <th>Amount</th>
                </tr>
            </thead>
            <?php
            foreach ($model_invoice as $key => $value) {
            ?>
            <!--<tr onclick="getInvoiceItems(<//?php echo $value['invoice_id']; ?>)"-->
            <tr>
                <td><?php echo ($key+1); ?></td>
                <td><?php echo $value['invoice_number']; ?></td>
                <td><?php echo date('d/m/Y', strtotime($value['invoice_date'])); ?></td>
                <td class="text-right"><?php echo Yii::app()->numberFormatter->formatCurrency($value['grand_total'],""); ?></td>
            </tr>
            <?php
            }
            ?>
        </table>
</div>
