diff --git a/app/Views/employee_data_list.php b/app/Views/employee_data_list.php index e3791918..7a6ae90e 100755 --- a/app/Views/employee_data_list.php +++ b/app/Views/employee_data_list.php @@ -34,6 +34,10 @@ position: absolute; } +.right-align-input { + text-align: right; +} + @@ -47,24 +51,23 @@
| SNO | - - +Client/Branch | - - - - - +Branch | - - + -Name/code | +Name | +EMP Code | +Relationship | +Date of Birth | Policy name | Insurer name | TPA ID | @@ -86,19 +89,18 @@||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - - + | - - - - - + | - - + - | + | + | + | + | - | @@ -132,24 +134,22 @@ | ||||
| - - + | - - - - - + | - - + + | + | + | @@ -174,6 +174,7 @@ if (ticketsTable.length) { ticketsTable.DataTable({ + scrollX: true, dom: "<'row'<'col-sm-6'f><'col-sm-6 text-right'B>>" + // Filter left, buttons right "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-5'i><'col-sm-7'p>>", // Pagination at the bottom, without page length selector @@ -181,9 +182,6 @@ extend: 'csv', text: 'CSV', title: 'Member-List', - exportOptions: { - columns: ':not(:last-child)' - }, }], language: { search: "_INPUT_", diff --git a/app/Views/employee_list.php b/app/Views/employee_list.php index 0d1b3dca..d615e7db 100755 --- a/app/Views/employee_list.php +++ b/app/Views/employee_list.php @@ -115,7 +115,6 @@ var client_id = '= isset($getData) ? $getData['client_id'] : '0' ?>'; var client_branch_id = '= isset($getData) ? $getData['branch_id'] : '0' ?>'; - $(document).ready(function() { console.log("document loaded"); //fetchClientPolicies(); @@ -127,7 +126,6 @@ $(window).on("load", function() { fetchClientPolicies(); }); - function fetchClientPolicies() { $('#loader').show(); var apiURL = '' + 'util/clients-with-policies'; @@ -204,7 +202,6 @@ function fetchClientPolicies() { $('#loader').hide(); } - function appendClients(data) { var clientID = = isset($getData) ? $getData['client_id'] : '0' ?>; $.each(data, function(index, item) { @@ -219,7 +216,6 @@ function appendClients(data) { }); } - function appendBranch(data) { $('#branch_id').empty(); @@ -239,7 +235,6 @@ function appendBranch(data) { }); } - function appendPolicies(data) { $('#policies').empty(); @@ -286,7 +281,6 @@ $(document).ready(function() { }); }); - $(document).ready(function() { $('#branch_id').on('change', function() { @@ -321,7 +315,6 @@ function objectToQueryString(obj) { return Object.keys(obj).map(key => `${encodeURIComponent(key)}=${encodeURIComponent(obj[key])}`).join('&'); } - function fetchEmpolyeeList(event) { event.preventDefault(); // Prevent default action diff --git a/app/Views/leads_form.php b/app/Views/leads_form.php index 15c97dbe..f00ea8b6 100644 --- a/app/Views/leads_form.php +++ b/app/Views/leads_form.php @@ -537,6 +537,7 @@ function getPolicyData(input) { } } +// Salse team user list data function selecSalsePerson(salse_person_ids) { salse_person_ids = JSON.parse(salse_person_ids); @@ -588,7 +589,7 @@ function addHTMLInput() { |