new commit

This commit is contained in:
Fiqh Pratama
2025-10-12 18:29:07 +07:00
parent aa3a1807aa
commit 9952968d82
26 changed files with 404 additions and 173 deletions
@@ -473,15 +473,18 @@
@endsection
@section('scripts')
<script>
<script>
$(document).ready(function () {
// Uncheck all checkboxes on page refresh
$('.custom-control-input').prop('checked', false);
if ($('#dataTable').length) {
$('#dataTable').DataTable({
responsive: false,
responsive: true,
dom: 'Blfrtip',
lengthMenu: [ [10, 50, 100, -1], [10, 50, 100, "All"] ], // Control the entries dropdown
buttons: [
{
@@ -507,9 +510,27 @@
},
'colvis'
]
});
}
});
}
// <script>
//$(document).ready(function () {
// Uncheck all checkboxes on page refresh
//$('.custom-control-input').prop('checked', false);
// new DataTable('#dataTable', {
// responsive: false,
// columnControl: [
// { extend: 'order' },
// [ { extend: 'colVis' },{ extend: 'search' }]
// ],
//});
// Handle Approve Button Click
$(document).on('click', '.open-approve-modal', function() {
const approveUrl = $(this).data('id');