- = $index + 1; ?>
+ = $index + 1; ?>
( = $row['short_name'] ?> )
- by
+ by
@@ -213,35 +214,82 @@ table.dataTable thead th {
$(document).ready(function() {
$('#scroll-horizontal-datatable').DataTable({
- scrollX: true,
- dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" +
- "<'row'<'col-sm-12'tr>>" +
- "<'row'<'col-sm-5'i><'col-sm-7'p>>",
- buttons: [
- {
- extend: 'csv',
- text: 'CSV',
- title: 'CD-Master-List',
- className: 'my_class',
- exportOptions: {
- columns: ':not(:last-child)'
- },
- },
- {
- text: 'Add',
- className: 'buttons-html5 ',
- action: function (e, dt, node, config) {
+ scrollX: true,
+ dom: "<'row'<'col-sm-2'f><'col-sm-10 text-right'B>>" +
+ "<'row'<'col-sm-12'tr>>" +
+ "<'row'<'col-sm-5'i><'col-sm-7'p>>",
+ buttons: [
+ {
+ text: '
Add ',
+ className: 'btn app-btn-primary mr-2',
+ action: function (e, dt, node, config) {
showCdMasterAddModal();
- }
- }
- ],
- language: {
- search: "_INPUT_",
- searchPlaceholder: "Search..."
- },
- paging: true,
+ }
+ },
+ {
+ extend: 'collection',
+ text: '
Export ',
+ className: 'btn app-btn-secondary ',
+ buttons: [
+ {
+ extend: 'csv',
+ title: 'CD-Master-List',
+ text: '
CSV ',
+ className: 'app-btn-primary my_class',
+ exportOptions: {
+ columns: ':not(:last-child)'
+ },
+ },
+ {
+ extend: 'excel',
+ text: '
EXCEL ',
+ exportOptions: {
+ orthogonal: 'sort'
+ },
+ className: 'app-btn-primary ',
+ }
+ ]
+ }
+ ],
+ language: {
+ search: `
+
+ _INPUT_
+
+
`,
+ searchPlaceholder: "Search"
+ },
+ paging: true,
+ pageLength: 10,
+ order: [[0, 'desc']]
+ // scrollX: true,
+ // dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" +
+ // "<'row'<'col-sm-12'tr>>" +
+ // "<'row'<'col-sm-5'i><'col-sm-7'p>>",
+ // buttons: [
+ // {
+ // extend: 'csv',
+ // text: 'CSV',
+ // title: 'CD-Master-List',
+ // className: 'my_class',
+ // exportOptions: {
+ // columns: ':not(:last-child)'
+ // },
+ // },
+ // {
+ // text: 'Add',
+ // className: 'buttons-html5 ',
+ // action: function (e, dt, node, config) {
+ // showCdMasterAddModal();
+ // }
+ // }
+ // ],
+ // language: {
+ // search: "_INPUT_",
+ // searchPlaceholder: "Search..."
+ // },
+ // paging: true,
});
-
})
$(document).ready(function(){
diff --git a/app/Views/claim_dump_file_list.php b/app/Views/claim_dump_file_list.php
index 0c1d6906..7a52530b 100644
--- a/app/Views/claim_dump_file_list.php
+++ b/app/Views/claim_dump_file_list.php
@@ -64,14 +64,14 @@
-
Files
+ Claim Dump Upload
- SNO
+ S.No
File name
User/Time
Status
@@ -86,21 +86,25 @@
?>
-
+
' . $file['user_name'] . '' ?>
- = $file['status'] ?>
+ = $file['status'] ?>
+
- = $file['status'] ?>
+
+ = $file['status'] ?>
+
- = $file['status'] ?>
+ = $file['status'] ?>
@@ -156,7 +160,7 @@
-
@@ -293,8 +297,12 @@
}
],
language: {
- search: "_INPUT_",
- searchPlaceholder: "Search..."
+ search: `
+
+ _INPUT_
+
+
`,
+ searchPlaceholder: "Search"
},
paging: true, // Enable pagination
pageLength: 15, // Set default number of rows per page (optional)
diff --git a/app/Views/claim_files_upload.php b/app/Views/claim_files_upload.php
index 5652432c..0b5eab77 100644
--- a/app/Views/claim_files_upload.php
+++ b/app/Views/claim_files_upload.php
@@ -19,7 +19,15 @@