<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-1">S/N</div>
    <div class="col-sm-4 text-center">Payment Request Date</div>
    <div class="col-sm-4 text-center">Amount</div>
    <div class="col-sm-3 text-center">Action</div>
</div>

<?php
$counter = 1;
foreach ($payment_request AS $request) {    
    ?>
    <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">        
        <div class="col-sm-1"><?php echo $counter; ?></div>
        <div class="col-sm-4 text-center"><?php
            echo date("F j, Y", strtotime($request->payment_date));
            ?></div>
        <div class="col-sm-4 text-center"><?php echo round($request->payment_amount); ?></div>
        <div class="col-sm-3 text-center" >
            <?php if ($request->person_payment_request_status == 1) { ?>
            <a href="javascript:void(0)" id="confirmPayment<?php echo $request->url; ?>"><i class="fa fa-user-plus" title="Payment Confirmed"></i></a>
                <span>&nbsp;</span>
            <?php } elseif($request->person_payment_request_status == 2) { ?>            
                <a href="javascript:void(0)"><i class="fa fa-check" title="Payment Confirmed"></i></a>
                <span>&nbsp;</span>
            <?php } ?>
        </div>            
    </div>

    <?php
    $counter++;
}
?>