date sorting
This commit is contained in:
parent
189e998344
commit
8e383cf626
@ -110,8 +110,11 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|||||||
@ -78,6 +78,8 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":9, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
@ -85,3 +87,4 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- /.box-header -->
|
<!-- /.box-header -->
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
<table id="example1" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
<table id="dataTableHistoriek" class="table table-bordered table-hover editableTable" style="font-size:12px;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="background-color:#ddf">
|
<tr style="background-color:#ddf">
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
@ -102,16 +102,19 @@
|
|||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
<script>
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
$(function () {
|
|
||||||
|
|
||||||
$('#example1').DataTable({
|
<script>
|
||||||
"paging": true,
|
|
||||||
"lengthChange": true,
|
$(function () {
|
||||||
"searching": true,
|
|
||||||
"ordering": true,
|
$('#dataTableHistoriek').DataTable({
|
||||||
"info": true,
|
"paging" : true,
|
||||||
"autoWidth": false
|
"ordering" : true,
|
||||||
});
|
"scrollCollapse" : true,
|
||||||
|
"searching" : true,
|
||||||
|
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||||
|
"bInfo": true
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@ -393,9 +393,13 @@ $(function () {
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -81,6 +81,8 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":7, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
@ -88,3 +90,5 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -79,6 +79,8 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
@ -86,3 +88,5 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -437,6 +437,8 @@ $(function () {
|
|||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
|
"columnDefs" : [{"targets":4, "type":"date-eu"}],
|
||||||
|
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
@ -445,4 +447,6 @@ $(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -98,8 +98,11 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":1, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|||||||
@ -92,9 +92,13 @@ $(function () {
|
|||||||
"searching": true,
|
"searching": true,
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 0, "desc" ]],
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":1, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -106,6 +106,8 @@
|
|||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /.content-wrapper -->
|
<!-- /.content-wrapper -->
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
@ -113,6 +115,8 @@
|
|||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
|
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||||
|
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
|
|||||||
@ -382,9 +382,13 @@ $(function () {
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":5, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -383,6 +383,8 @@ $(function () {
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":6, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
//"data-sort-name":Status
|
//"data-sort-name":Status
|
||||||
@ -390,3 +392,5 @@ $(function () {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -126,6 +126,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
@ -134,6 +135,8 @@
|
|||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
|
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||||
|
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"aaSorting": [[ 0, "asc" ]],
|
"aaSorting": [[ 0, "asc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
|
|||||||
@ -106,6 +106,8 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||||
|
|
||||||
"aaSorting": [[ 0, "asc" ]],
|
"aaSorting": [[ 0, "asc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true,
|
"autoWidth": true,
|
||||||
@ -115,3 +117,5 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -381,6 +381,8 @@ $(function () {
|
|||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
|
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||||
|
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 0, "desc" ]],
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"info": true,
|
"info": true,
|
||||||
@ -389,3 +391,4 @@ $(function () {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|||||||
@ -132,6 +132,7 @@ span.highlight {
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
@ -140,6 +141,8 @@ span.highlight {
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":7, "type":"date-eu"}],
|
||||||
|
|
||||||
"aaSorting": [[ 0, "desc" ]],
|
"aaSorting": [[ 0, "desc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|||||||
@ -100,6 +100,8 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":3, "type":"date-eu"}],
|
||||||
|
|
||||||
"aaSorting": [[ 0, "asc" ]],
|
"aaSorting": [[ 0, "asc" ]],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true,
|
"autoWidth": true,
|
||||||
@ -109,3 +111,5 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -163,8 +163,11 @@ $Adv='';
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":13, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|||||||
@ -151,9 +151,13 @@ $ReqDate = $dt->format('d-m-Y'); echo $ReqDate ?>
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":5, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -391,6 +391,8 @@ function(start, end, label) {
|
|||||||
"paging": true,
|
"paging": true,
|
||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
|
"columnDefs" : [{"targets":2, "type":"date-eu"}],
|
||||||
|
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
@ -398,3 +400,5 @@ function(start, end, label) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|||||||
@ -582,6 +582,7 @@ function validate()
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":6, "type":"date-eu"}],
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
});
|
});
|
||||||
@ -590,12 +591,19 @@ function validate()
|
|||||||
"lengthChange": false,
|
"lengthChange": false,
|
||||||
"searching": false,
|
"searching": false,
|
||||||
"ordering": false,
|
"ordering": false,
|
||||||
|
// "columnDefs" : [{"targets":6, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": false,
|
"info": false,
|
||||||
"autoWidth": false
|
"autoWidth": false
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
</script><script type="text/javascript">
|
|
||||||
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#MaterialCode").select2();
|
$("#MaterialCode").select2();
|
||||||
//$("#StockAvail").select2();
|
//$("#StockAvail").select2();
|
||||||
|
|||||||
@ -209,12 +209,16 @@
|
|||||||
"lengthChange": true,
|
"lengthChange": true,
|
||||||
"searching": true,
|
"searching": true,
|
||||||
"ordering": true,
|
"ordering": true,
|
||||||
|
"columnDefs" : [{"targets":5, "type":"date-eu"}],
|
||||||
|
|
||||||
"info": true,
|
"info": true,
|
||||||
"autoWidth": true
|
"autoWidth": true
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://cdn.datatables.net/plug-ins/1.10.11/sorting/date-eu.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$("#Igrshow").on("shown.bs.modal", function(e) {
|
$("#Igrshow").on("shown.bs.modal", function(e) {
|
||||||
var igr = $(e.relatedTarget).data('userid');
|
var igr = $(e.relatedTarget).data('userid');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user