FIX_syntax_error

This commit is contained in:
sanjeev.p 2026-03-04 16:14:36 +05:30
parent 67715d0de0
commit 467b206de0

View File

@ -1691,7 +1691,7 @@ class ExcelExportController extends ResourceController
$data[] = array_values($row); $data[] = array_values($row);
} }
} catch (DatabaseException $e) { } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) {
log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage());
// Re-throw the exception so it is caught by the main function's catch block // Re-throw the exception so it is caught by the main function's catch block
throw $e; throw $e;
@ -1762,7 +1762,7 @@ class ExcelExportController extends ResourceController
$data[] = array_values($row); $data[] = array_values($row);
} }
} catch (DatabaseException $e) { } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) {
log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage());
// Re-throw the exception so it is caught by the main function's catch block // Re-throw the exception so it is caught by the main function's catch block
throw $e; throw $e;
@ -1832,7 +1832,7 @@ class ExcelExportController extends ResourceController
$data[] = array_values($row); $data[] = array_values($row);
} }
} catch (DatabaseException $e) { } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) {
log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage());
// Re-throw the exception so it is caught by the main function's catch block // Re-throw the exception so it is caught by the main function's catch block
throw $e; throw $e;
@ -1910,7 +1910,7 @@ class ExcelExportController extends ResourceController
$data[] = array_values($row); $data[] = array_values($row);
} }
} catch (DatabaseException $e) { } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) {
log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage());
// Re-throw the exception so it is caught by the main function's catch block // Re-throw the exception so it is caught by the main function's catch block
throw $e; throw $e;
@ -2045,7 +2045,7 @@ class ExcelExportController extends ResourceController
$data[] = array_values($row); $data[] = array_values($row);
} }
} catch (DatabaseException $e) { } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) {
log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage());
// Re-throw the exception so it is caught by the main function's catch block // Re-throw the exception so it is caught by the main function's catch block
throw $e; throw $e;
@ -2360,7 +2360,7 @@ class ExcelExportController extends ResourceController
$data[] = array_values($row); $data[] = array_values($row);
} }
} catch (DatabaseException $e) { } catch (\CodeIgniter\Database\Exceptions\DatabaseException $e) {
log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage()); log_message('error', 'Database Error during Excel fetch: ' . $e->getMessage());
// Re-throw the exception so it is caught by the main function's catch block // Re-throw the exception so it is caught by the main function's catch block
throw $e; throw $e;
@ -2471,7 +2471,7 @@ class ExcelExportController extends ResourceController
per.endorsement_description, per.endorsement_description,
per.financia_or_non_financial, per.financia_or_non_financial,
per.endorsement_premium, per.endorsement_premium,
per.commission_amount, per.commission_amount