<div class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6">
                <!-- <h1 class="m-0">Deactive Member </h1> -->
            </div>
            <div class="col-sm-6">
                <ol class="breadcrumb float-sm-right">
                    <li class="breadcrumb-item"><a href="#">Thrift</a></li>
                    <li class="breadcrumb-item active">Edit Thrift</li>
                </ol>
            </div>
        </div>
    </div>
</div>




<section class="content">
    <div class="container-fluid">




        <div class="row">

            <section class="col-lg-12 connectedSortable">

                <div class="card">
                    <div class="card-header " style="background-color:#31708e;color:white">
                        <h3 class="card-title">
                            Edit Thrift Details
                        </h3>
                        <div class="card-tools">
                            <ul class="nav nav-pills ml-auto">
                            </ul>
                        </div>
                    </div>
                    <div class="card-body">
                        <div class="tab-content p-0">



                        <!-- File: src/Template/Articles/edit.ctp -->
                        <h3 class="text-center btn btn-lg btn-light  float-left"><a href="<?php echo base_url(); ?>index.php/Member/thrift_details" >Back</a></h3>
                        <div class="row">
                            <div class="col-sm-2"></div>
                            <div class="col-sm-8">
                                <form method="post" action="<?php echo base_url(); ?>index.php/Member/update_thrift" id="edit_thrift" enctype='multipart/form-data'>
                                    <!-- <input type="hidden" name="id" value="<?php echo $thrift['thrift_id']; ?>"> -->
                                    <input type="hidden" name="updated_on" value="<?php echo date("Y-m-d H:i:s"); ?>">
                                    <div class="row mt-5">
                                        <div class="col-sm-6"><b>Member Number</b></div>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control" name="me_no" id="mem_no" readonly value="<?php echo $thrift['me_no'] . "-" . $thrift['mem_name']; ?>">
                                        </div>
                                    </div><br>
                                    <div class="row mt-3">
                                        <div class="col-sm-6"><b>Thrift Amount</b></div>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control" value="<?php echo $thrift['thrift_amt']; ?>" name="thrift_amt" id="thrift_amt">
                                        </div>
                                    </div><br>
                                    <div class="row mt-3">
                                        <div class="col-sm-6"><b>Total Thrift Amount</b></div>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control" readonly value="<?php echo $thrift['tot_thrift']; ?>" name="tot_thrift" id="tot_thrift">
                                        </div>
                                    </div>
                                    <br />
                                    <div class='row'>
                                        <div class='col-sm-5'></div>
                                        <button type="submit" onclick="member_validate();" class="btn btn-primary col-sm-2">Save</button>
                                    </div>
                                </form>
                            </div>
                        </div>

                        
                        </div>
                    </div>
                </div>
        </div>
</section>
</div>
</div>
</section>