uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
resources
/
..
/
.
/
..
/
public_html
/
admin
/
closing_date.php
/
/
<?php include('header.php'); ?> <!--<script> var dateToday = new Date(); dateToday.setDate(dateToday.getDate() + 1); $(function() { $( "#s_date" ).datepicker({ minDate: dateToday, dateFormat: 'yy-mm-dd' }); }); </script>--> <div class="container-fluid"> <?php echo getMessage(); ?> <div class="row"> <div class="col-sm-12"> <div class="page-title-box"> <h4 class="page-title"><B>Closing Date</b></h4> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item"><a href="#">Admin Setting</a></li> <li class="breadcrumb-item active">Closing Detail</li> </ol> <!-- <div class="state-information d-none d-sm-block"> <div class="state-graph"> <div id="header-chart-1"></div> <div class="info">Balance $ 2,317</div> </div> <div class="state-graph"> <div id="header-chart-2"></div> <div class="info">Item Sold 1230</div> </div> </div>--> </div> </div> </div> <!-- end row --> <div class="row"> <div class="col-12"> <div class="card m-b-20"> <div class="card-body"> <form action="closing_date_model.php" onsubmit="" method="post"> <div class="form-group row"> <!-- <label for="example-text-input" class="col-sm-2 col-form-label">Text</label>--> <label class="col-sm-2 col-form-label" for="s_date">Closing Date</label> <!-- <label class="col-sm-2 col-form-label" for="dob"> Name<span>*</span></label>--> <div class="col-sm-10"> <input type="date" class="form-control datepicker-current" id="s_date" placeholder="select date" name="s_date" autocomplete="off" required="required"> </div> </div> <div class="form-group"> <div> <!-- <input style="position: relative; left: 160px;" name="submit" type="submit" id="submit" value="Save"> --> <input type="hidden" name="type" value="0" /> <button name="submit" type="submit" id="submit" value="Save" class="btn btn-primary waves-effect waves-light"> Submit </button> <!-- <button type="reset" class="btn btn-secondary waves-effect m-l-5"> Cancel </button>--> </div> </div> </form> </div> </div> </div> <!-- end col --> </div> <!-- end row --> </div> <!-- container-fluid --> <div class="container-fluid"> <div class="row"> <div class="col-sm-12"> <div class="page-title-box"> <h4 class="page-title"><B>Closing Date</b></h4> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item"><a href="#">Admin Setting</a></li> <li class="breadcrumb-item active">Closing Detail</li> </ol> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="card m-b-20"> <div class="card-body"> <table class="table table-striped table-bordered mb-0 dt-responsive nowrap " id="datatable-ajax-page"> <thead> <tr> <th>S. No.</th> <!-- <th></th>--> <th>Closing date</th> <th>Closed</th> <th>Delete</th> </tr> </thead> <tbody> </tbody> <!-- <tr> <th colspan="3" style="text-align: right;">Total Amount:</th> <th colspan="3" style="text-align: left;">Rs. <?php echo $total ?></th> <th colspan="2" style="text-align: left;">Rs. <?php echo $net_total ?></th> </tr>--> </table> </div> </div> </div> <!-- end col --> </div> <!--table content ends here--> </div> <script type="text/javascript"> var start; $(document).ready(function() { var table = $('#datatable-ajax-page').DataTable({ "ajax": { "url": "./report/closing_date_json.php", "type": "POST", dataType: 'json', data: function ( d ) { var formData = $("#search-form").serializeArray(); $.each(formData, function(i, field){ d[field.name] = field.value; }); }, }, "processing": true, "serverSide": true, "pageLength": 500, //"lengthMenu": [[100, 500, 1000, 2000, -1], [100, 500, 1000, 2000, "All"]], "lengthMenu": [[100, 500, 1000, 2000, 5000], [100, 500, 1000, 2000, 5000]], "dom": 'B<"top">rt<"bottom"lp><"clear">', buttons: [ 'excel', 'csv', 'pdf', 'print' ], "columns": [ { "data": "sno" }, // { "data": "type" }, /* { "data": "parentRoleId" }, */ { "data": "closing_date" }, { "data": "status" }, { "data": "uid", "render": function ( data, type, full, meta ) { return '<button onclick="delete_closing_date('+full.recid+');" class="btn btn-primary">' + 'Delete' + '</button>'; // return '<button onclick="processStatus('+full.recid+', \''+full.description+'\', \''+full.name+'\', \''+full.email+'\', \''+full.mobile+'\', \''+full.account_holder_name+'\', \''+full.bank_name+'\', \''+full.branch_name+'\', \''+full.account_number+'\', \''+full.ifsc+'\');" class="btn btn-primary">' + 'View Pay Details' + '</buton>'; } }, ], } ); table.on( 'xhr', function () { start = table.ajax.json().start; } ); } ); function delete_closing_date(recid) { var cnf = confirm("Do you want delete date?"); if (cnf) { $.get("delete_closing_date.php", {'recid': recid}, function (data, status) { if (data.success) { alert('Deleted successfully'); location.reload(); } else { alert("Some error occured. Try again."); } }, "json"); } } </script> <?php include('footer.php'); ?>
/home2/wtmwscom/public_html/resources/.././../public_html/admin/closing_date.php