perubaha datatable part4

This commit is contained in:
oktaviaramadani 2023-11-13 09:31:46 +07:00
parent 0b4139c92c
commit eac701c324
2 changed files with 3 additions and 2 deletions

View File

@ -108,8 +108,8 @@
} }
}, },
{ {
data: 'tanggal_update', data: 'date',
name: 'tanggal_update', name: 'date',
render: function(data, type, row) { render: function(data, type, row) {
if (type == 'display') { if (type == 'display') {
var date = new Date(data); var date = new Date(data);

View File

@ -14,5 +14,6 @@
<script src="{{ asset('assets/modules/bootstrap/js/bootstrap.min.js') }}"></script> <script src="{{ asset('assets/modules/bootstrap/js/bootstrap.min.js') }}"></script>
<!-- dashboard --> <!-- dashboard -->
<script src="{{ asset('assets/modules/chart.min.js') }}"></script> <script src="{{ asset('assets/modules/chart.min.js') }}"></script>