CHANGE_Perpage And Add label

This commit is contained in:
venba-Inspriron-3558 2025-09-29 10:25:46 +05:30
parent 4c25d7e0aa
commit ac692ae3f9
19 changed files with 22 additions and 22 deletions

View File

@ -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">

View File

@ -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();

View File

@ -393,7 +393,7 @@
searchPlaceholder: "Search" searchPlaceholder: "Search"
}, },
paging: true, paging: true,
pageLength: 25, pageLength: 10,
ordering: false ordering: false
}); });
} else { } else {

View File

@ -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>>" +

View File

@ -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();
} }

View File

@ -196,7 +196,7 @@
] ]
}], }],
paging: true, paging: true,
pageLength: 25, pageLength: 10,
order: [ order: [
[0, 'desc'] [0, 'desc']
] ]

View File

@ -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();

View File

@ -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 {

View File

@ -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: [
{ {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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();

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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']]
}); });
}); });