<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="#">Books</a></li>
                    <li class="breadcrumb-item active">Create Cash Book</li>
                </ol>
            </div>
        </div>
    </div>
</div>

            <!-----------------------------   Income-Others Credited Amount ------------------>

       
<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">
                        Expense Edit
                        </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/insert_tally">Back</a></h3>
                        <!-- <h1 class="text-center">Edit Loan</h1><br><br><br> -->
                        <div class="row">
                            <div class="col-sm-3"></div>
                            <div class="col-sm-6">
                                <form method="post" action="<?= base_url('index.php/Member/edit_expense1/' . $expense->id) ?>" id="edit_loan" enctype='multipart/form-data'>
                                    <div class="row mt-3">
                                        <div class="col-sm-6"><b>Expense List</b></div>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control" name="list" id="mem_no" value="<?php echo $expense->list; ?>">
                                            <input type="hidden" class="form-control" name="expense_id" id="mem_no" value="<?php echo $expense->expense_id; ?>">
                                        </div>
                                    </div><br>
                                    <div class="row mt-3">
                                        <div class="col-sm-6"><b>Previous Month Amount</b></div>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control" name="pamount" id="loan_no" value="<?php echo $expense->pamount; ?>">
                                        </div>
                                    </div><br>
                                    <div class="row mt-3">
                                        <div class="col-sm-6"><b>Current Month Amount</b></div>
                                        <div class="col-sm-6">
                                            <input type="text" class="form-control" name="camount" id="loan_amount" value="<?php echo $expense->camount; ?>">
                                        </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>
              