From efa2fb6ce75abab58e7e91f8311aef6053f8b943 Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Wed, 12 Nov 2025 09:35:28 +0530 Subject: [PATCH 1/2] FIX_all xl's Sheet name implemented --- app/Views/UserList.php | 1 + app/Views/bds_multi_report.php | 1 + app/Views/bds_renewal_report_list.php | 1 + app/Views/bds_report_Insurer_wise_Data.php | 1 + app/Views/bds_report_bap_wise_data.php | 1 + app/Views/bds_tat_wise_report.php | 1 + app/Views/cd_master_list.php | 1 + app/Views/claims_report_acc_manager_wise.php | 2 +- app/Views/claims_report_tpa_wise.php | 2 +- app/Views/employee_data_list.php | 5 +++-- app/Views/endorsement_list.php | 1 + app/Views/irda_bap_client_report_list.php | 1 + app/Views/irda_bap_insurer_report_list.php | 1 + app/Views/irda_client_report_list.php | 1 + app/Views/outstanding_report_list.php | 1 + app/Views/report_bds.php | 1 + app/Views/report_bds_new.php | 1 + app/Views/tat_report_band_wise_list.php | 1 + app/Views/thz_list.php | 1 + app/Views/ticket_feedback_list.php | 1 + app/Views/ticket_list.php | 1 + app/Views/variance_report_list.php | 3 ++- app/Views/vehicle_master_list.php | 1 + app/Views/vehicle_type_list.php | 1 + 24 files changed, 27 insertions(+), 5 deletions(-) diff --git a/app/Views/UserList.php b/app/Views/UserList.php index 7561a427..703d2c7a 100755 --- a/app/Views/UserList.php +++ b/app/Views/UserList.php @@ -935,6 +935,7 @@ table.dataTable tbody td { }, { extend: 'excel', + sheetName: 'Users', text: ' EXCEL ', exportOptions: { orthogonal: 'sort' }, className: 'app-btn-primary', diff --git a/app/Views/bds_multi_report.php b/app/Views/bds_multi_report.php index b2cbb84f..f05990cb 100644 --- a/app/Views/bds_multi_report.php +++ b/app/Views/bds_multi_report.php @@ -107,6 +107,7 @@ extend: 'excel', text: ' EXCEL ', title: 'BDS TAT BAND WISE DATA', + sheetName: 'BDS TAT BAND WISE DATA', }, ] } diff --git a/app/Views/bds_renewal_report_list.php b/app/Views/bds_renewal_report_list.php index 9d44a633..91c1b7b0 100644 --- a/app/Views/bds_renewal_report_list.php +++ b/app/Views/bds_renewal_report_list.php @@ -134,6 +134,7 @@ $(document).ready(function() { extend: 'excel', text: ' EXCEL ', title: 'Renewal-List', + sheetName: 'Renewal-List', exportOptions: { orthogonal: 'sort' }, diff --git a/app/Views/bds_report_Insurer_wise_Data.php b/app/Views/bds_report_Insurer_wise_Data.php index 835f48d6..4fcf1320 100644 --- a/app/Views/bds_report_Insurer_wise_Data.php +++ b/app/Views/bds_report_Insurer_wise_Data.php @@ -94,6 +94,7 @@ table.dataTable tbody td { extend: 'excel', text: ' EXCEL ', title: 'Insurer-Wise-Report-List', + sheetName: 'Insurer-Wise-Report-List', exportOptions: { orthogonal: 'sort' }, diff --git a/app/Views/bds_report_bap_wise_data.php b/app/Views/bds_report_bap_wise_data.php index 3b2175db..b78ed3cd 100644 --- a/app/Views/bds_report_bap_wise_data.php +++ b/app/Views/bds_report_bap_wise_data.php @@ -100,6 +100,7 @@ table.dataTable tbody td { }, className: 'app-btn-primary ', title: 'Bap-Wise-Report-List', + sheetName: 'Bap-Wise-Report-List', footer: true } ] diff --git a/app/Views/bds_tat_wise_report.php b/app/Views/bds_tat_wise_report.php index 1c30125d..ef236c6a 100644 --- a/app/Views/bds_tat_wise_report.php +++ b/app/Views/bds_tat_wise_report.php @@ -123,6 +123,7 @@ extend: 'excel', text: ' EXCEL ', title: 'BDS TAT BAND WISE DATA', + sheetName: 'BDS TAT BAND WISE DATA', className: 'app-btn-primary ', } ] diff --git a/app/Views/cd_master_list.php b/app/Views/cd_master_list.php index 466588e9..922b9f68 100755 --- a/app/Views/cd_master_list.php +++ b/app/Views/cd_master_list.php @@ -243,6 +243,7 @@ table.dataTable thead th { { extend: 'excel', text: ' EXCEL ', + sheetName: 'CD-Master-List', exportOptions: { orthogonal: 'sort' }, diff --git a/app/Views/claims_report_acc_manager_wise.php b/app/Views/claims_report_acc_manager_wise.php index 105f552a..214948a9 100644 --- a/app/Views/claims_report_acc_manager_wise.php +++ b/app/Views/claims_report_acc_manager_wise.php @@ -94,7 +94,7 @@ className: 'btn app-btn-secondary ', buttons: [ { extend: 'csv', text: ' CSV ', title: 'Insurer-Wise-Report-List', className: 'app-btn-primary ' }, - { extend: 'excel', text: ' EXCEL ', title: 'Insurer-Wise-Report-List', className: 'app-btn-primary ', exportOptions: { orthogonal: 'sort' } } + { extend: 'excel', text: ' EXCEL ', title: 'Insurer-Wise-Report-List', className: 'app-btn-primary ', sheetName: 'Insurer-Wise-Report-List', exportOptions: { orthogonal: 'sort' } } ], } ], diff --git a/app/Views/claims_report_tpa_wise.php b/app/Views/claims_report_tpa_wise.php index ec66572a..603ff8ad 100644 --- a/app/Views/claims_report_tpa_wise.php +++ b/app/Views/claims_report_tpa_wise.php @@ -92,7 +92,7 @@ className: 'btn app-btn-secondary ', buttons: [ { extend: 'csv', text: ' CSV ', title: 'Insurer-Wise-Report-List',className: 'app-btn-primary ' }, - { extend: 'excel', text: ' EXCEL ', title: 'Insurer-Wise-Report-List',className: 'app-btn-primary ', exportOptions: { orthogonal: 'sort' } } + { extend: 'excel', text: ' EXCEL ', title: 'Insurer-Wise-Report-List',className: 'app-btn-primary ', sheetName: 'Insurer-Wise-Report-List', exportOptions: { orthogonal: 'sort' } } ] } ], diff --git a/app/Views/employee_data_list.php b/app/Views/employee_data_list.php index 75e5125e..119716bc 100755 --- a/app/Views/employee_data_list.php +++ b/app/Views/employee_data_list.php @@ -354,13 +354,14 @@ extend: 'csv', text: ' CSV ', className: 'app-btn-primary ', - title: 'Member-List', + title: 'Members', }, { extend: 'excel', text: ' EXCEL ', className: 'app-btn-primary ', - title: 'Member-List', + title: 'Members', + sheetName: 'Members' } ] } diff --git a/app/Views/endorsement_list.php b/app/Views/endorsement_list.php index 0404262a..96f4899e 100755 --- a/app/Views/endorsement_list.php +++ b/app/Views/endorsement_list.php @@ -620,6 +620,7 @@ orthogonal: 'sort' }, className: 'app-btn-primary ', + sheetName: 'Endorsements' } ] } diff --git a/app/Views/irda_bap_client_report_list.php b/app/Views/irda_bap_client_report_list.php index 3e9dc0fe..25545c23 100644 --- a/app/Views/irda_bap_client_report_list.php +++ b/app/Views/irda_bap_client_report_list.php @@ -226,6 +226,7 @@ $(document).ready(function() { extend: 'excel', text: ' EXCEL ', title: 'IRDA-BAP-CLIENT-List', + sheetName: 'IRDA-BAP-CLIENT-List', exportOptions: { orthogonal: 'sort' }, diff --git a/app/Views/irda_bap_insurer_report_list.php b/app/Views/irda_bap_insurer_report_list.php index 0ed8d492..21253e6b 100644 --- a/app/Views/irda_bap_insurer_report_list.php +++ b/app/Views/irda_bap_insurer_report_list.php @@ -314,6 +314,7 @@ $(document).ready(function() { text: ' EXCEL ', className: 'app-btn-primary ', title: 'IRDA-BAP-INSURER-List', + sheetName: 'IRDA-BAP-INSURER-List', customize: function(xlsx) { var sheet = xlsx.xl.worksheets['sheet1.xml']; var total = 0; diff --git a/app/Views/irda_client_report_list.php b/app/Views/irda_client_report_list.php index d3f7993f..17272497 100644 --- a/app/Views/irda_client_report_list.php +++ b/app/Views/irda_client_report_list.php @@ -147,6 +147,7 @@ $(document).ready(function() { extend: 'excel', text: ' EXCEL ', title: 'IRDA-BAP-CLIENT-List', + sheetName: 'IRDA-BAP-CLIENT-List', className: 'app-btn-primary ', customize: function(xlsx) { var sheet = xlsx.xl.worksheets['sheet1.xml']; diff --git a/app/Views/outstanding_report_list.php b/app/Views/outstanding_report_list.php index 53b807d9..496c9afa 100644 --- a/app/Views/outstanding_report_list.php +++ b/app/Views/outstanding_report_list.php @@ -194,6 +194,7 @@ extend: 'excel', text: ' EXCEL ', title: 'Outstanding Report', + sheetName: 'Outstanding Report', customize: function(xlsx) { var sheet = xlsx.xl.worksheets['sheet1.xml']; var total = 0; diff --git a/app/Views/report_bds.php b/app/Views/report_bds.php index 3aaab25d..364a3fdd 100644 --- a/app/Views/report_bds.php +++ b/app/Views/report_bds.php @@ -342,6 +342,7 @@ $(document).ready(function() { { extend: 'excel', title: 'Policy-Tranction-BDS-List', + sheetName: 'Policy-Tranction-BDS-List', text: ' EXCEL ', className: 'app-btn-primary ', // customize: function (xlsx) { diff --git a/app/Views/report_bds_new.php b/app/Views/report_bds_new.php index 92bca589..ae9db7cf 100644 --- a/app/Views/report_bds_new.php +++ b/app/Views/report_bds_new.php @@ -385,6 +385,7 @@ { extend: 'excel', title: 'Policy-Tranction-BDS-List', + sheetName: 'Policy-Tranction-BDS-List', text: ' EXCEL ', className: 'app-btn-primary ', // customize: function (xlsx) { diff --git a/app/Views/tat_report_band_wise_list.php b/app/Views/tat_report_band_wise_list.php index 813b37f9..39f0c068 100644 --- a/app/Views/tat_report_band_wise_list.php +++ b/app/Views/tat_report_band_wise_list.php @@ -128,6 +128,7 @@ text: ' EXCEL ', className: 'app-btn-primary ', title: 'TAT BAND WISE DATA', + sheetName: 'TAT BAND WISE DATA', } ] } diff --git a/app/Views/thz_list.php b/app/Views/thz_list.php index 5e2376a5..e4bc218a 100644 --- a/app/Views/thz_list.php +++ b/app/Views/thz_list.php @@ -350,6 +350,7 @@ table.dataTable tbody td { }, className: 'app-btn-primary ', title: 'Tickets' + sheetName: 'Tickets', } ] } diff --git a/app/Views/ticket_feedback_list.php b/app/Views/ticket_feedback_list.php index 57ab8b6b..c8d2f304 100644 --- a/app/Views/ticket_feedback_list.php +++ b/app/Views/ticket_feedback_list.php @@ -131,6 +131,7 @@ $(document).ready(function() { orthogonal: 'sort' }, title: 'claim-List', + sheetName: 'claim-List', className: 'app-btn-primary ', } ] diff --git a/app/Views/ticket_list.php b/app/Views/ticket_list.php index e1b306e9..2b542f78 100644 --- a/app/Views/ticket_list.php +++ b/app/Views/ticket_list.php @@ -315,6 +315,7 @@ $(document).ready(function() { extend: 'excel', text: ' EXCEL ', title: 'claim-List', + sheetName: 'claim-List', exportOptions: { orthogonal: 'sort' }, diff --git a/app/Views/variance_report_list.php b/app/Views/variance_report_list.php index 5e59e7fc..6d609a80 100644 --- a/app/Views/variance_report_list.php +++ b/app/Views/variance_report_list.php @@ -236,7 +236,8 @@ { extend: 'excel', text: ' EXCEL ', - title: 'Variance-Report-List', + title: 'Variance-Report-List', + sheetName: 'Variance-Report-List', customize: function(xlsx) { var sheet = xlsx.xl.worksheets['sheet1.xml']; var total = 0; diff --git a/app/Views/vehicle_master_list.php b/app/Views/vehicle_master_list.php index 9d83d62e..84059a5d 100644 --- a/app/Views/vehicle_master_list.php +++ b/app/Views/vehicle_master_list.php @@ -499,6 +499,7 @@ $(document).ready(function() { }, { extend: 'excel', + sheetName: 'Vehicle-Master', text: ' EXCEL ', exportOptions: { orthogonal: 'sort' diff --git a/app/Views/vehicle_type_list.php b/app/Views/vehicle_type_list.php index 3cc0de76..6692bf58 100644 --- a/app/Views/vehicle_type_list.php +++ b/app/Views/vehicle_type_list.php @@ -845,6 +845,7 @@ text: ' EXCEL ', exportOptions: { orthogonal: 'sort' }, className: 'app-btn-primary', + sheetName: 'Vehicle-Type', exportOptions: { columns: ':not(:last-child)' } From 9162ca0f04989b715a797484ac97490aef545d15 Mon Sep 17 00:00:00 2001 From: venba-Inspriron-3558 Date: Wed, 12 Nov 2025 09:43:58 +0530 Subject: [PATCH 2/2] FIX_Sheet name implemented --- app/Views/variance_report_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Views/variance_report_list.php b/app/Views/variance_report_list.php index 6d609a80..279fd493 100644 --- a/app/Views/variance_report_list.php +++ b/app/Views/variance_report_list.php @@ -237,7 +237,7 @@ extend: 'excel', text: ' EXCEL ', title: 'Variance-Report-List', - sheetName: 'Variance-Report-List', + sheetName: 'Variance-Report-List', // Sheet name customize: function(xlsx) { var sheet = xlsx.xl.worksheets['sheet1.xml']; var total = 0;