<div id="page-wrapper">
    <div class="header">
        <h1 class="page-header">

        </h1>
        <ol class="breadcrumb">
            <li><a href="#">Member</a></li>
            <li class="active">Member Details</li>
        </ol>

    </div>
    <div id="page-inner">



        <div class="row">
            <div class="col-md-12">
                <!--   Kitchen Sink -->
                <div class="panel panel-default">
                    <div class="panel-heading d-flex justify-content-center">
                        Member Details
                    </div>
                    <div class="panel-body">
        <br>
        <table id="table_id" class="table table-striped table-bordered " style="width:100%">
                        <thead>
                            <tr>
                                <th class="text-center">M. No.</th>
                                <th class="text-center">Name</th>
                                <th class="text-center">Total Amount</th>
                                <th class="text-center">paid Amount</th>
                                <th class="text-center">Due By</th>
                    
                            </tr>
                        </thead>

                        <tbody>
                        <!-- <!?php print_r($data);die;?> -->

                        <?php foreach($value as $members) { ?>
                         <!-- <form method="post" action="<?php echo base_url(); ?>index.php/Demand/update_due_by/<!?php echo $members[$i]['me_no']; ?>" id="member_add_" enctype='multipart/form-data'> -->
                                    <tr>
                                            <td class="text-center" style="padding:5px; margin:0px;">
                                            <?= $members->me_no;?>
                                            
                                        </td>
                                       <td class="text-center" style="padding:5px; margin:0px;">
                                            <?= $members->mem_name;?>
                                            
                                        </td>
                                        <td class="text-center" style="padding:5px; margin:0px;">
                                            <?= $members->d_total ;?>
                                            
                                        </td>
                                        <td class="text-center" style="padding:5px; margin:0px;">
                                            <?= $members->tot_pay ;?>
                                            
                                        </td>
                                     <td class="text-center" style="padding:5px; margin:0px;">

                                     <?= $members->due_by ;?>
                                         </td>
                                        
                                          
                                        </tr>
                             
                                   
                        </tbody>
                        <?php }?>
                                        
                    </table> 
                    <!-- <div class='row'>
                                <div class='col-sm-5'></div>
                                <input type="submit" class="btn btn-primary col-sm-2" value="Save">
                            </div> -->
    </div>
    <!-- </form> -->

</div>
</div>

