<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="#">Old Due</a></li>
                    <li class="breadcrumb-item active">Old Due Edit </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">
                            Old Due Edit 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">

                            <h3 class="text-center btn btn-lg btn-light  float-left"><a href="<?php echo base_url(); ?>index.php/Member/old_dues">Back</a></h3>
                            <!-- <h1 class="text-center">Edit Old Due</h1><br><br><br> -->
                            <div class="row">
                                <div class="col-sm-3"></div>
                                <div class="col-sm-6">
                                    <form method="post" action="<?php echo base_url(); ?>index.php/Member/update_old_due" id="edit_old_due" enctype='multipart/form-data'>
                                        <input type="hidden" name="updated_on" value="<?php echo date("Y-m-d H:i:s"); ?>">
                                        <div class="row mt-3">
                                            <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 $old_due['me_no'] . "-" . $old_due['mem_name']; ?>">
                                            </div>
                                        </div><br>
                                        <div class="row mt-3">
                                            <div class="col-sm-6"><b>Old Due Pri.</b></div>
                                            <div class="col-sm-6">
                                                <input type="text" class="form-control" name="old_due_pri" id="old_due_pri" value="<?php echo $old_due['old_due_pri'] ?>">
                                            </div>
                                        </div><br>
                                        <div class="row mt-3">
                                            <div class="col-sm-6"><b>Old Due Int.</b></div>
                                            <div class="col-sm-6">
                                                <input type="text" class="form-control" name="old_due_int" id="old_due_int" value="<?php echo $old_due['old_due_int'] ?>">
                                            </div>
                                        </div><br>
                                        <div class="row mt-3">
                                            <div class="col-sm-6"><b>Old P. Int.</b></div>
                                            <div class="col-sm-6">
                                                <input type="text" class="form-control" name="old_p_int" id="old_p_int" value="<?php echo $old_due['old_p_int'] ?>">
                                            </div>
                                        </div><br>
                                        <div class='row'>
                                            <div class='col-sm-5'></div>
                                            <button type="submit" onclick="check_validation();" class="btn btn-primary col-sm-2">Save</button>
                                        </div>
                                    </form>
                                </div>
                            </div>




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


<script>
    function check_validation() {
        // if (document.getElementById("fst_int").checked) {
        //     document.getElementById('fst_int_hidden').disabled = true;
        // }

        // if (document.getElementById("f_fst_int").checked) {
        //     document.getElementById('f_fst_int_hidden').disabled = true;
        // }

    }
</script>