<div class="col-sm-12  text-left  "style="margin-bottom: 5px;font-weight: bold;border-bottom: 1px solid limegreen;border-top: 1px solid limegreen">
    <div class="col-sm-4">Invoice</div>
    <div class="col-sm-3 text-center">Invoice Created Date</div>
    <div class="col-sm-3 text-center">Paid Amount</div>
    <div class="col-sm-2 text-center">View</div>
</div>
<?php
if ($invoice_info) {
    foreach ($invoice_info as $value) {
        ?>
        <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
            <div class="col-sm-4"><strong><?php echo '#tt-' . $random_id[$value->invoice_id]; ?></strong></div>
            <div class="col-sm-3 text-center"><?php
                echo date("F j, Y", strtotime($value->invoice_created_date));
                ?></div>
            <div class="col-sm-3 text-center"><?php
                if ($invoice_payment_info[$value->invoice_id]) {
                    echo $paid_amount[$value->invoice_id] . $paid_currency_sign[$value->invoice_id];
                } else {
                    echo 'None';
                }
                ?></div>
            <div class="col-sm-2 text-center">
                <a target="_blank" href="<?php echo base_url('user/view-invoice/' . $random_id[$value->invoice_id]); ?>"><i class="fa fa-dollar" title="View Invoice"></i></a>
            </div>
        </div>
        <?php
    }
}