diff --git a/public/js/app/conti_categorie.js b/public/js/app/conti_categorie.js index dd36973..e51b652 100644 --- a/public/js/app/conti_categorie.js +++ b/public/js/app/conti_categorie.js @@ -1,24 +1,12 @@ $(document).ready(function() { $('#listrapportoS').DataTable({ "responsive": true, - columnDefs: [ - { - target: 0, - render: DataTable.render.date(), - } - ], - "order": [[0, "desc"]] + "order": [[0, "asc"]] }); $('#listrapportoE').DataTable({ "responsive": true, - columnDefs: [ - { - target: 0, - render: DataTable.render.date(), - } - ], - "order": [[0, "desc"]] + "order": [[0, "asc"]] }); $('#categorie').DataTable({ diff --git a/public/js/app/progetti.js b/public/js/app/progetti.js index cad40c5..ba66b7d 100644 --- a/public/js/app/progetti.js +++ b/public/js/app/progetti.js @@ -4,11 +4,11 @@ $(document).ready(function() { "responsive": true, columnDefs: [ { - target: 0, + target: 1, render: DataTable.render.date(), } ], - "order": [[0, "desc"]] + "order": [[1, "desc"]] }); }); diff --git a/public/js/momentjs.js b/public/js/momentjs.js new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/admin.blade.php b/resources/views/admin.blade.php index efc8361..c962c1d 100644 --- a/resources/views/admin.blade.php +++ b/resources/views/admin.blade.php @@ -20,22 +20,9 @@ - - - - - - - - + + @section('head_additional') @show @@ -116,11 +103,13 @@ - + + + @section('script') @show diff --git a/resources/views/conti/movimenti/list.blade.php b/resources/views/conti/movimenti/list.blade.php index 819313e..740dcdc 100644 --- a/resources/views/conti/movimenti/list.blade.php +++ b/resources/views/conti/movimenti/list.blade.php @@ -31,8 +31,9 @@
@foreach( $movimenti as $movimento )