new commit
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user