[2026-06-24 17:51:43] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /settings/agreement: Error: Failed opening required 'C:\xampp\htdocs\ai_admin\app\Helpers/../../views/settings/agreement.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php:737
#0 C:\xampp\htdocs\ai_admin\app\Controllers\AgreementController.php(22): view('settings/agreem...', Array)
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AgreementController->settings()
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AgreementContro...', 'settings')
#3 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/settings/agree...')
#4 {main}
[2026-06-24 17:51:46] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /settings/agreement: Error: Failed opening required 'C:\xampp\htdocs\ai_admin\app\Helpers/../../views/settings/agreement.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php:737
#0 C:\xampp\htdocs\ai_admin\app\Controllers\AgreementController.php(22): view('settings/agreem...', Array)
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AgreementController->settings()
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AgreementContro...', 'settings')
#3 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/settings/agree...')
#4 {main}
[2026-06-24 17:54:00] [error] [Logger.php:160] [IP:::1] [USER:1] Route dispatch failed: GET /agreement/templates/create: Error: Failed opening required 'C:\xampp\htdocs\ai_admin\app\Helpers/../../views/agreement/template_form.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ai_admin\app\Helpers\helpers.php:737
#0 C:\xampp\htdocs\ai_admin\app\Controllers\AgreementController.php(61): view('agreement/templ...', Array)
#1 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AgreementController->createTemplate()
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AgreementContro...', 'createTemplate')
#3 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/agreement/temp...')
#4 {main}
[2026-06-24 18:10:33] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:10:37] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:13:42] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:13:44] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:15:31] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:15:32] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:19:55] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:19:58] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:19:59] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:19:59] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->count('loan_groups', 'g.branch_id = ?', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#6 {main}
[2026-06-24 18:27:21] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#5 {main}
[2026-06-24 18:27:22] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#5 {main}
[2026-06-24 18:29:22] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /groups: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'g.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\GroupController.php(41): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): GroupController->index()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('GroupController', 'index')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/groups')
#5 {main}
[2026-06-24 18:48:17] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /rd: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'r.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\RDController.php(79): Database->count('rd_accounts', 'r.branch_id = ?...', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): RDController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('RDController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/rd')
#6 {main}
[2026-06-24 18:48:21] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /rd: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'r.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\RDController.php(79): Database->count('rd_accounts', 'r.branch_id = ?...', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): RDController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('RDController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/rd')
#6 {main}
[2026-06-24 18:48:29] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /rd: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'r.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COUNT(*)...')
#1 C:\xampp\htdocs\ai_admin\app\Models\Database.php(185): Database->queryValue('SELECT COUNT(*)...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Controllers\RDController.php(79): Database->count('rd_accounts', 'r.branch_id = ?...', Array)
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): RDController->index()
#4 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('RDController', 'index')
#5 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/rd')
#6 {main}
[2026-06-24 19:01:43] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /accounting/profit-loss: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COALESCE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(285): Database->queryValue('SELECT COALESCE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->profitLoss()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'profitLoss')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/pro...')
#5 {main}
[2026-06-24 19:01:44] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /accounting/profit-loss: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COALESCE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(285): Database->queryValue('SELECT COALESCE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->profitLoss()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'profitLoss')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/pro...')
#5 {main}
[2026-06-24 19:02:25] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /accounting/profit-loss: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COALESCE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(285): Database->queryValue('SELECT COALESCE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->profitLoss()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'profitLoss')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/pro...')
#5 {main}
[2026-06-24 19:02:26] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /accounting/profit-loss: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COALESCE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(285): Database->queryValue('SELECT COALESCE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->profitLoss()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'profitLoss')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/pro...')
#5 {main}
[2026-06-24 19:02:27] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /accounting/profit-loss: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COALESCE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(285): Database->queryValue('SELECT COALESCE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->profitLoss()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'profitLoss')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/pro...')
#5 {main}
[2026-06-24 19:02:53] [error] [Logger.php:160] [IP:::1] [USER:208] Route dispatch failed: GET /accounting/profit-loss: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'l.branch_id' in 'where clause' in C:\xampp\htdocs\ai_admin\app\Models\Database.php:131
#0 C:\xampp\htdocs\ai_admin\app\Models\Database.php(131): PDO->prepare('SELECT COALESCE...')
#1 C:\xampp\htdocs\ai_admin\app\Controllers\AccountingController.php(285): Database->queryValue('SELECT COALESCE...', Array)
#2 C:\xampp\htdocs\ai_admin\app\Core\Router.php(54): AccountingController->profitLoss()
#3 C:\xampp\htdocs\ai_admin\app\Core\Router.php(24): Router->callAction('AccountingContr...', 'profitLoss')
#4 C:\xampp\htdocs\ai_admin\public\index.php(285): Router->dispatch('GET', '/accounting/pro...')
#5 {main}
