CHANGE_Perpage And Add label
This commit is contained in:
parent
4c25d7e0aa
commit
ac692ae3f9
@ -886,7 +886,7 @@ table.dataTable tbody td {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 10,
|
||||||
language: {
|
language: {
|
||||||
search: `
|
search: `
|
||||||
<div class="datatable-search-wrapper">
|
<div class="datatable-search-wrapper">
|
||||||
|
|||||||
@ -109,7 +109,7 @@
|
|||||||
// ],
|
// ],
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Create New Ticket </span>',
|
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Add </span>',
|
||||||
className: 'btn app-btn-primary mr-2',
|
className: 'btn app-btn-primary mr-2',
|
||||||
action: function(e, dt, node, config) {
|
action: function(e, dt, node, config) {
|
||||||
openTicket();
|
openTicket();
|
||||||
|
|||||||
@ -393,7 +393,7 @@
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 10,
|
||||||
ordering: false
|
ordering: false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -260,7 +260,7 @@ table.dataTable thead th {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 10,
|
||||||
order: [[0, 'desc']]
|
order: [[0, 'desc']]
|
||||||
// scrollX: true,
|
// scrollX: true,
|
||||||
// dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" +
|
// dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" +
|
||||||
|
|||||||
@ -311,8 +311,8 @@ $(document).ready(function()
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '+ Create New Client',
|
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Add </span>',
|
||||||
className: 'btn-filter app-btn-primary buttons-html5', // custom class
|
className: 'btn app-btn-primary mr-2',
|
||||||
action: function(e, dt, node, config) {
|
action: function(e, dt, node, config) {
|
||||||
addClient();
|
addClient();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -196,7 +196,7 @@
|
|||||||
]
|
]
|
||||||
}],
|
}],
|
||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 10,
|
||||||
order: [
|
order: [
|
||||||
[0, 'desc']
|
[0, 'desc']
|
||||||
]
|
]
|
||||||
|
|||||||
@ -598,7 +598,7 @@
|
|||||||
"<'row'<'col-sm-12'tr>>" +
|
"<'row'<'col-sm-12'tr>>" +
|
||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||||
buttons: [{
|
buttons: [{
|
||||||
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Create New Ticket </span>',
|
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Add </span>',
|
||||||
className: 'btn app-btn-primary mr-2',
|
className: 'btn app-btn-primary mr-2',
|
||||||
action: function(e, dt, node, config) {
|
action: function(e, dt, node, config) {
|
||||||
openTicket();
|
openTicket();
|
||||||
|
|||||||
@ -393,7 +393,7 @@ $(document).ready(function () {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 10,
|
||||||
ordering: false
|
ordering: false
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -106,7 +106,7 @@ $(document).ready(function () {
|
|||||||
searchPlaceholder: "Search..."
|
searchPlaceholder: "Search..."
|
||||||
},
|
},
|
||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 10,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -454,7 +454,7 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true, // Enable pagination
|
paging: true, // Enable pagination
|
||||||
pageLength: 25, // Set default number of rows per page (optional)
|
pageLength: 10, // Set default number of rows per page (optional)
|
||||||
// ordering: false,
|
// ordering: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -524,7 +524,7 @@ table.dataTable thead th {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true, // Enable pagination
|
paging: true, // Enable pagination
|
||||||
pageLength: 25, // Set default number of rows per page (optional)
|
pageLength: 10, // Set default number of rows per page (optional)
|
||||||
ordering: false,
|
ordering: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -598,7 +598,7 @@ $(document).ready(function() {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true, // Enable pagination
|
paging: true, // Enable pagination
|
||||||
pageLength: 25, // Set default number of rows per page (optional)
|
pageLength: 10, // Set default number of rows per page (optional)
|
||||||
// ordering: false,
|
// ordering: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -413,7 +413,7 @@ $(document).ready(function() {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true, // Enable pagination
|
paging: true, // Enable pagination
|
||||||
pageLength: 25, // Set default number of rows per page (optional)
|
pageLength: 10, // Set default number of rows per page (optional)
|
||||||
ordering: false,
|
ordering: false,
|
||||||
"footerCallback": function(row, data, start, end, display) {
|
"footerCallback": function(row, data, start, end, display) {
|
||||||
var api = this.api();
|
var api = this.api();
|
||||||
|
|||||||
@ -193,7 +193,7 @@ $(document).ready(function() {
|
|||||||
searchPlaceholder: "Search..."
|
searchPlaceholder: "Search..."
|
||||||
},
|
},
|
||||||
paging: true, // Enable pagination
|
paging: true, // Enable pagination
|
||||||
pageLength: 25, // Set default number of rows per page (optional)
|
pageLength: 10, // Set default number of rows per page (optional)
|
||||||
ordering: false,
|
ordering: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -325,7 +325,7 @@ table.dataTable tbody td {
|
|||||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector
|
"<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Create New Ticket </span>',
|
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Add </span>',
|
||||||
className: 'btn app-btn-primary mr-2',
|
className: 'btn app-btn-primary mr-2',
|
||||||
action: function(e, dt, node, config) {
|
action: function(e, dt, node, config) {
|
||||||
openTicket();
|
openTicket();
|
||||||
@ -363,7 +363,7 @@ table.dataTable tbody td {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 10,
|
||||||
order: [[0, 'desc']]
|
order: [[0, 'desc']]
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -145,7 +145,7 @@ $(document).ready(function() {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true, // Enable pagination
|
paging: true, // Enable pagination
|
||||||
pageLength: 25, // Set default number of rows per page (optional)
|
pageLength: 10, // Set default number of rows per page (optional)
|
||||||
ordering: false,
|
ordering: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -294,7 +294,7 @@ $(document).ready(function() {
|
|||||||
// ],
|
// ],
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Create New Claim </span>',
|
text: '<i class="mdi mdi-plus" ></i><span class=" btn-custom"> Add </span>',
|
||||||
className: 'btn app-btn-primary mr-2',
|
className: 'btn app-btn-primary mr-2',
|
||||||
action: function(e, dt, node, config) {
|
action: function(e, dt, node, config) {
|
||||||
openTicketTypeAskModal()
|
openTicketTypeAskModal()
|
||||||
@ -332,7 +332,7 @@ $(document).ready(function() {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true, // Enable pagination
|
paging: true, // Enable pagination
|
||||||
pageLength: 25, // Set default number of rows per page (optional)
|
pageLength: 10, // Set default number of rows per page (optional)
|
||||||
ordering: false,
|
ordering: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -273,7 +273,7 @@
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true, // Enable pagination
|
paging: true, // Enable pagination
|
||||||
pageLength: 25, // Set default number of rows per page (optional)
|
pageLength: 10, // Set default number of rows per page (optional)
|
||||||
ordering: false,
|
ordering: false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -517,7 +517,7 @@ $(document).ready(function() {
|
|||||||
searchPlaceholder: "Search"
|
searchPlaceholder: "Search"
|
||||||
},
|
},
|
||||||
paging: true,
|
paging: true,
|
||||||
pageLength: 25,
|
pageLength: 10,
|
||||||
order: [[0, 'desc']]
|
order: [[0, 'desc']]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user