Merge branch 'new_theme' of bitbucket.org:venbainformationtechnology/ria into new_theme
This commit is contained in:
commit
8b93d9618b
@ -1935,6 +1935,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
var orderColumnIndex = <?php echo (session()->get('roleText') == 'Auditor') ? 6 : 0; ?>;
|
||||||
table = $('#view_inward_gate_register').DataTable({
|
table = $('#view_inward_gate_register').DataTable({
|
||||||
dom: 'Blfrtip',
|
dom: 'Blfrtip',
|
||||||
buttons: [
|
buttons: [
|
||||||
@ -1952,7 +1953,8 @@
|
|||||||
[10, 20, 30, 50, "All"]
|
[10, 20, 30, 50, "All"]
|
||||||
],
|
],
|
||||||
responsive: false,
|
responsive: false,
|
||||||
ordering:false,
|
ordering:true,
|
||||||
|
order: [[parseInt(orderColumnIndex), 'desc']],
|
||||||
language: {
|
language: {
|
||||||
paginate: {
|
paginate: {
|
||||||
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
next: '<i class="fas fa-angle-right"></i>', // Next button icon
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user