Your IP : 216.73.216.26


Current Path : /home2/wtmwscom/www/member/
Upload File :
Current File : /home2/wtmwscom/www/member/report_matching.php

<?php
$title= "Matching B.V. Report";
include 'header.php';

$uid = $_SESSION['userid'];

?>
    <div class="container-fluid">
    <div class="row">
        <div class="col-sm-12">
            <div class="page-title-box">
                <h4 class="page-title">Payment History</h4>
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="index.php">Home</a></li>
                    <li class="breadcrumb-item"><a href="#">Report</a></li>
                    <li class="breadcrumb-item active">Matching Report</li>
                </ol>
            </div>
        </div>
    </div>
    <!-- end row -->
    <div class="row">
        <div class="col-12">
            <div class="card m-b-20">
                <div class="card-body">
                    <?php echo getMessage(); ?>
                    <div class="card-body">
                        <form class="form-inline" id="search-form" action="get" >
                                                    <div class="form-group " >
                                                        <label class="form-control " > From Date: </label>
                                                        <input type="text" class="form-control datepicker"  placeholder="From date" name="from_date" autocomplete="off">
                                                    </div>&nbsp;
                                                    <div class="form-group">
                                                        <label class="form-control "> To date: </label>
                                                        <input type="text" class="form-control datepicker"  placeholder="To date" name="to_date" autocomplete="off" >
                                                  </div>
                        
                                                    <button type="submit" class="btn btn-primary" id="submit">Search</button>
                                                </form>
                    </div>
                    <table class="table table-striped table-bordered table-hover dt-responsive datatable-ajax" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
                        <tfoot align="right">
                            <tr><th style="text-align: left;" colspan="2">Total</th><th style="text-align: left;" colspan="4"></th></tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div> <!-- end col -->
    </div> <!-- end row -->



</div> <!-- container-fluid -->

<script type="text/javascript">
    var columnMetadataAll = [{"data": "sno", "title": "S.No."}, {"data": "user_name", "title": "User"}, {"data": "matching_amount", "title": "Matching Amount"}, {"data": "left_carry_amount", "title": "Left Carry Amount"}, {"data": "right_carry_amount", "title": "Right Carry Amount"}, {"data": "date", "title": "Date"}];
    var urlAll = "./report/report_matching_json.php";
    var table = null;

    $(document).ready(function () {
        table = loadDataTable('.datatable-ajax',urlAll, columnMetadataAll, true, 2);

        $("#search-form").submit(function (e) {
            table.ajax.reload();
            e.preventDefault(); // avoid to execute the actual submit of the form.
        });
        $('.datatable-ajax tbody').on('click', 'tr', function () {
            var data = table.row(this).data();
            //window.location ='/'+moduleCode+'/view/?id='+data.id;
        });
             
    });



</script>
<?php include 'footer.php';?>