{"__meta":{"id":"01M46336B3G7226QMCJWTACBTS","datetime":"2026-10-05 16:12:19","utime":1791205939.555717,"method":"GET","uri":"\/api\/v2\/companyuser\/dashboard\/sales-purchases-trend?type=today&from=2026-10-05&to=2026-10-05&basis=accrual","ip":"196.156.147.139"},"php":{"version":"8.3.35","interface":"fpm-fcgi"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1791205939.121222,"end":1791205939.555735,"duration":0.4345130920410156,"duration_str":"435ms","measures":[{"label":"Booting","start":1791205939.121222,"relative_start":0,"end":1791205939.271974,"relative_end":1791205939.271974,"duration":0.15075206756591797,"duration_str":"151ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1791205939.271992,"relative_start":0.15076994895935059,"end":1791205939.555737,"relative_end":1.9073486328125e-6,"duration":0.28374505043029785,"duration_str":"284ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1791205939.273256,"relative_start":0.15203404426574707,"end":1791205939.277338,"relative_end":1791205939.277338,"duration":0.0040819644927978516,"duration_str":"4.08ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1791205939.554737,"relative_start":0.4335150718688965,"end":1791205939.554867,"relative_end":1791205939.554867,"duration":0.00012993812561035156,"duration_str":"130\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1791205939.555409,"relative_start":0.4341869354248047,"end":1791205939.555432,"relative_end":1791205939.555432,"duration":2.3126602172851562e-5,"duration_str":"23\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":7023480,"peak_usage_str":"7MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"count":0,"nb_templates":0,"templates":[]},"route":{"uri":"GET api\/v2\/companyuser\/dashboard\/sales-purchases-trend","middleware":"Laravel\\Nightwatch\\Hooks\\GlobalMiddleware, api, api.v2.auth, throttle:180,1, Laravel\\Nightwatch\\Hooks\\RouteMiddleware","domain":"{subdomain}.pat.vomdev.com","excluded_middleware":["throttle:60,1"],"uses":"Modules\\CompanyUser\\Http\\Controllers\\Dashboard\\DashboardSalesPurchasesTrendController@__invoke","controller":"Modules\\CompanyUser\\Http\\Controllers\\Dashboard\\DashboardSalesPurchasesTrendController","as":"company.dashboard-v2.sales-purchases-trend","namespace":"Modules\\CompanyUser\\Http\\Controllers","prefix":"api\/v2\/companyuser\/dashboard"},"queries":{"count":56,"nb_statements":55,"nb_visible_statements":56,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.2017,"accumulated_duration_str":"202ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"select * from `cold_archived_accounts` where `status` = 'archived' and (LOWER(subdomain) = 'marwansub7' or LOWER(subdomain) = 'marwansub7.pat.vomdev.com') order by `archived_at` desc limit 1","type":"query","params":[],"bindings":["archived","marwansub7","marwansub7.pat.vomdev.com"],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Services\/ColdArchive\/ColdArchivedAccountLookup.php","file":"\/var\/www\/html\/vom\/app\/Services\/ColdArchive\/ColdArchivedAccountLookup.php","line":35},{"index":17,"namespace":null,"name":"app\/Http\/Middleware\/InterceptColdArchivedHost.php","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/InterceptColdArchivedHost.php","line":37},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"index":19,"namespace":null,"name":"vendor\/laravel\/nightwatch\/src\/Hooks\/GlobalMiddleware.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/nightwatch\/src\/Hooks\/GlobalMiddleware.php","line":36},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183}],"start":1791205939.279195,"duration":0.0008,"duration_str":"800\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ColdArchivedAccountLookup.php:35","source":{"index":16,"namespace":null,"name":"app\/Services\/ColdArchive\/ColdArchivedAccountLookup.php","file":"\/var\/www\/html\/vom\/app\/Services\/ColdArchive\/ColdArchivedAccountLookup.php","line":35},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fapp%2FServices%2FColdArchive%2FColdArchivedAccountLookup.php&line=35","ajax":false,"filename":"ColdArchivedAccountLookup.php","line":"35"},"connection":"vom","explain":null},{"sql":"select * from `websites` where `websites`.`id` = 9919 and `websites`.`deleted_at` is null limit 1","type":"query","params":[],"bindings":[9919],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table","<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","file":"\/var\/www\/html\/vom\/Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","line":64},{"index":21,"namespace":null,"name":"Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","file":"\/var\/www\/html\/vom\/Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","line":40},{"index":22,"namespace":null,"name":"app\/Http\/Middleware\/TenantFeaturesAndRestrictions.php","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/TenantFeaturesAndRestrictions.php","line":67},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"index":24,"namespace":null,"name":"app\/Http\/Middleware\/InterceptColdArchivedHost.php","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/InterceptColdArchivedHost.php","line":40}],"start":1791205939.281885,"duration":0.00058,"duration_str":"580\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"RetrievingTenantBySubdomainService.php:64","source":{"index":20,"namespace":null,"name":"Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","file":"\/var\/www\/html\/vom\/Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","line":64},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FTenant%2FServices%2FRetrievingTenantBySubdomainService.php&line=64","ajax":false,"filename":"RetrievingTenantBySubdomainService.php","line":"64"},"connection":"vom","explain":null},{"sql":"select * from `company_info` where `company_info`.`website_id` in (9919) and `company_info`.`deleted_at` is null","type":"query","params":[],"bindings":[],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[{"index":25,"namespace":null,"name":"Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","file":"\/var\/www\/html\/vom\/Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","line":64},{"index":26,"namespace":null,"name":"Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","file":"\/var\/www\/html\/vom\/Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","line":40},{"index":27,"namespace":null,"name":"app\/Http\/Middleware\/TenantFeaturesAndRestrictions.php","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/TenantFeaturesAndRestrictions.php","line":67},{"index":28,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"index":29,"namespace":null,"name":"app\/Http\/Middleware\/InterceptColdArchivedHost.php","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/InterceptColdArchivedHost.php","line":40}],"start":1791205939.2839909,"duration":0.00075,"duration_str":"750\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"RetrievingTenantBySubdomainService.php:64","source":{"index":25,"namespace":null,"name":"Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","file":"\/var\/www\/html\/vom\/Modules\/Tenant\/Services\/RetrievingTenantBySubdomainService.php","line":64},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FTenant%2FServices%2FRetrievingTenantBySubdomainService.php&line=64","ajax":false,"filename":"RetrievingTenantBySubdomainService.php","line":"64"},"connection":"vom","explain":null},{"sql":"select * from `active_subscriptions` where `company_id` = 9686 and `active_subscriptions`.`deleted_at` is null order by `created_at` desc limit 1","type":"query","params":[],"bindings":[9686],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Middleware\/TenantFeaturesAndRestrictions.php","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/TenantFeaturesAndRestrictions.php","line":108},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"index":18,"namespace":null,"name":"app\/Http\/Middleware\/InterceptColdArchivedHost.php","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/InterceptColdArchivedHost.php","line":40},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"index":20,"namespace":null,"name":"vendor\/laravel\/nightwatch\/src\/Hooks\/GlobalMiddleware.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/nightwatch\/src\/Hooks\/GlobalMiddleware.php","line":36}],"start":1791205939.2867901,"duration":0.0008,"duration_str":"800\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"TenantFeaturesAndRestrictions.php:108","source":{"index":16,"namespace":null,"name":"app\/Http\/Middleware\/TenantFeaturesAndRestrictions.php","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/TenantFeaturesAndRestrictions.php","line":108},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fapp%2FHttp%2FMiddleware%2FTenantFeaturesAndRestrictions.php&line=108","ajax":false,"filename":"TenantFeaturesAndRestrictions.php","line":"108"},"connection":"vom","explain":null},{"sql":"Connection Established","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},{"index":16,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":67},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":20,"namespace":"middleware","name":"api.v2.auth","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/Api\/isAuthenticated.php","line":21},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183}],"start":1791205939.291305,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"PersonalAccessToken.php:66","source":{"index":15,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FPersonalAccessToken.php&line=66","ajax":false,"filename":"PersonalAccessToken.php","line":"66"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select * from `personal_access_tokens` where `personal_access_tokens`.`id` = '18549' limit 1","type":"query","params":[],"bindings":["18549"],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table","<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":67},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":25,"namespace":"middleware","name":"api.v2.auth","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/Api\/isAuthenticated.php","line":21},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183}],"start":1791205939.291998,"duration":0.002,"duration_str":"2ms","slow":false,"memory":0,"memory_str":null,"filename":"PersonalAccessToken.php:66","source":{"index":20,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FPersonalAccessToken.php&line=66","ajax":false,"filename":"PersonalAccessToken.php","line":"66"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select * from `users` where `users`.`id` = 8 and `users`.`deleted_at` is null limit 1","type":"query","params":[],"bindings":[8],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table","<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":161},{"index":22,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":69},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":26,"namespace":"middleware","name":"api.v2.auth","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/Api\/isAuthenticated.php","line":21},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183}],"start":1791205939.2962918,"duration":0.0004,"duration_str":"400\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"Guard.php:161","source":{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":161},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FGuard.php&line=161","ajax":false,"filename":"Guard.php","line":"161"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select * from `fiscal_year` where `fiscal_year`.`id` in (0, 0, 0, 0, 0) and `fiscal_year`.`deleted_at` is null","type":"query","params":[],"bindings":[],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","file":"\/var\/www\/html\/vom\/vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","line":64},{"index":20,"namespace":null,"name":"vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","file":"\/var\/www\/html\/vom\/vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","line":27},{"index":21,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Period\/DashboardFiscalYearCalendar.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Period\/DashboardFiscalYearCalendar.php","line":92},{"index":22,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Period\/DashboardFiscalYearCalendar.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Period\/DashboardFiscalYearCalendar.php","line":83},{"index":23,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Period\/ResolvingDashboardPeriodService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Period\/ResolvingDashboardPeriodService.php","line":115}],"start":1791205939.302211,"duration":0.00053,"duration_str":"530\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"Crudable.php:64","source":{"index":19,"namespace":null,"name":"vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","file":"\/var\/www\/html\/vom\/vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","line":64},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Fflobbos%2Flaravel-crudable%2Fsrc%2FCrudable%2FCrudable.php&line=64","ajax":false,"filename":"Crudable.php","line":"64"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2025-11-01' and '2025-11-30' limit 1","type":"query","params":[],"bindings":[8,9,"2025-11-01","2025-11-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.3048341,"duration":0.00735,"duration_str":"7.35ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2025-11-01' and '2025-11-30' limit 1","type":"query","params":[],"bindings":[8,9,"2025-11-01","2025-11-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.3133361,"duration":0.0008,"duration_str":"800\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2025-11-01' and '2025-11-30' limit 1","type":"query","params":[],"bindings":[13,"2025-11-01","2025-11-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.315223,"duration":0.0034500000000000004,"duration_str":"3.45ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2025-11-01' and '2025-11-30' limit 1","type":"query","params":[],"bindings":[13,"2025-11-01","2025-11-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.319801,"duration":0.0008,"duration_str":"800\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2025-12-01' and '2025-12-31' limit 1","type":"query","params":[],"bindings":[8,9,"2025-12-01","2025-12-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.321965,"duration":0.009800000000000001,"duration_str":"9.8ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2025-12-01' and '2025-12-31' limit 1","type":"query","params":[],"bindings":[8,9,"2025-12-01","2025-12-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.332815,"duration":0.0007199999999999999,"duration_str":"720\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2025-12-01' and '2025-12-31' limit 1","type":"query","params":[],"bindings":[13,"2025-12-01","2025-12-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.3345308,"duration":0.0032400000000000003,"duration_str":"3.24ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2025-12-01' and '2025-12-31' limit 1","type":"query","params":[],"bindings":[13,"2025-12-01","2025-12-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.338758,"duration":0.00085,"duration_str":"850\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-01-01' and '2026-01-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-01-01","2026-01-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.3406749,"duration":0.010230000000000001,"duration_str":"10.23ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-01-01' and '2026-01-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-01-01","2026-01-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.3519418,"duration":0.0007700000000000001,"duration_str":"770\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-01-01' and '2026-01-31' limit 1","type":"query","params":[],"bindings":[13,"2026-01-01","2026-01-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.3537102,"duration":0.00311,"duration_str":"3.11ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-01-01' and '2026-01-31' limit 1","type":"query","params":[],"bindings":[13,"2026-01-01","2026-01-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.357777,"duration":0.00065,"duration_str":"650\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-02-01' and '2026-02-28' limit 1","type":"query","params":[],"bindings":[8,9,"2026-02-01","2026-02-28"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.359458,"duration":0.009699999999999999,"duration_str":"9.7ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-02-01' and '2026-02-28' limit 1","type":"query","params":[],"bindings":[8,9,"2026-02-01","2026-02-28"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.3701901,"duration":0.0008399999999999999,"duration_str":"840\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-02-01' and '2026-02-28' limit 1","type":"query","params":[],"bindings":[13,"2026-02-01","2026-02-28"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.372112,"duration":0.00277,"duration_str":"2.77ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-02-01' and '2026-02-28' limit 1","type":"query","params":[],"bindings":[13,"2026-02-01","2026-02-28"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.37599,"duration":0.00087,"duration_str":"870\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-03-01' and '2026-03-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-03-01","2026-03-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.377946,"duration":0.01055,"duration_str":"10.55ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-03-01' and '2026-03-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-03-01","2026-03-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.38941,"duration":0.0008,"duration_str":"800\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-03-01' and '2026-03-31' limit 1","type":"query","params":[],"bindings":[13,"2026-03-01","2026-03-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.391314,"duration":0.00268,"duration_str":"2.68ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-03-01' and '2026-03-31' limit 1","type":"query","params":[],"bindings":[13,"2026-03-01","2026-03-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.3952498,"duration":0.0007700000000000001,"duration_str":"770\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-04-01' and '2026-04-30' limit 1","type":"query","params":[],"bindings":[8,9,"2026-04-01","2026-04-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.39721,"duration":0.00939,"duration_str":"9.39ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-04-01' and '2026-04-30' limit 1","type":"query","params":[],"bindings":[8,9,"2026-04-01","2026-04-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.4073248,"duration":0.0007700000000000001,"duration_str":"770\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-04-01' and '2026-04-30' limit 1","type":"query","params":[],"bindings":[13,"2026-04-01","2026-04-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.4092631,"duration":0.004889999999999999,"duration_str":"4.89ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-04-01' and '2026-04-30' limit 1","type":"query","params":[],"bindings":[13,"2026-04-01","2026-04-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.415136,"duration":0.0008900000000000001,"duration_str":"890\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-05-01' and '2026-05-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-05-01","2026-05-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.4172912,"duration":0.0096,"duration_str":"9.6ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-05-01' and '2026-05-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-05-01","2026-05-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.4279552,"duration":0.001,"duration_str":"1ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-05-01' and '2026-05-31' limit 1","type":"query","params":[],"bindings":[13,"2026-05-01","2026-05-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.4301739,"duration":0.0027,"duration_str":"2.7ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-05-01' and '2026-05-31' limit 1","type":"query","params":[],"bindings":[13,"2026-05-01","2026-05-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.4339101,"duration":0.00064,"duration_str":"640\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-06-01' and '2026-06-30' limit 1","type":"query","params":[],"bindings":[8,9,"2026-06-01","2026-06-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.43559,"duration":0.01017,"duration_str":"10.17ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-06-01' and '2026-06-30' limit 1","type":"query","params":[],"bindings":[8,9,"2026-06-01","2026-06-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.4468288,"duration":0.00198,"duration_str":"1.98ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-06-01' and '2026-06-30' limit 1","type":"query","params":[],"bindings":[13,"2026-06-01","2026-06-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.4499028,"duration":0.00535,"duration_str":"5.35ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-06-01' and '2026-06-30' limit 1","type":"query","params":[],"bindings":[13,"2026-06-01","2026-06-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.456455,"duration":0.00114,"duration_str":"1.14ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-07-01' and '2026-07-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-07-01","2026-07-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.4587,"duration":0.0116,"duration_str":"11.6ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-07-01' and '2026-07-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-07-01","2026-07-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.471527,"duration":0.0008399999999999999,"duration_str":"840\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-07-01' and '2026-07-31' limit 1","type":"query","params":[],"bindings":[13,"2026-07-01","2026-07-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.4737499,"duration":0.0027,"duration_str":"2.7ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-07-01' and '2026-07-31' limit 1","type":"query","params":[],"bindings":[13,"2026-07-01","2026-07-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.477473,"duration":0.00092,"duration_str":"920\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-08-01' and '2026-08-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-08-01","2026-08-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.479479,"duration":0.01558,"duration_str":"15.58ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-08-01' and '2026-08-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-08-01","2026-08-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.4963741,"duration":0.00313,"duration_str":"3.13ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-08-01' and '2026-08-31' limit 1","type":"query","params":[],"bindings":[13,"2026-08-01","2026-08-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.500589,"duration":0.00323,"duration_str":"3.23ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-08-01' and '2026-08-31' limit 1","type":"query","params":[],"bindings":[13,"2026-08-01","2026-08-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.5047581,"duration":0.00085,"duration_str":"850\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-09-01' and '2026-09-30' limit 1","type":"query","params":[],"bindings":[8,9,"2026-09-01","2026-09-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.506712,"duration":0.01298,"duration_str":"12.98ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-09-01' and '2026-09-30' limit 1","type":"query","params":[],"bindings":[8,9,"2026-09-01","2026-09-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.520917,"duration":0.00091,"duration_str":"910\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-09-01' and '2026-09-30' limit 1","type":"query","params":[],"bindings":[13,"2026-09-01","2026-09-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.522999,"duration":0.00501,"duration_str":"5.01ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-09-01' and '2026-09-30' limit 1","type":"query","params":[],"bindings":[13,"2026-09-01","2026-09-30"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.5296452,"duration":0.00202,"duration_str":"2.02ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `journal_records`.`journal_date` between '2026-10-01' and '2026-10-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-10-01","2026-10-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.533925,"duration":0.01244,"duration_str":"12.44ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-10-01' and '2026-10-31' limit 1","type":"query","params":[],"bindings":[8,9,"2026-10-01","2026-10-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":74},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.5474,"duration":0.0008900000000000001,"duration_str":"890\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-10-01' and '2026-10-31' limit 1","type":"query","params":[],"bindings":[13,"2026-10-01","2026-10-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":307},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":77},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":20,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47}],"start":1791205939.5493171,"duration":0.0027400000000000002,"duration_str":"2.74ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '2026-10-01' and '2026-10-31' limit 1","type":"query","params":[],"bindings":[13,"2026-10-01","2026-10-31"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},{"index":15,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":78},{"index":16,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":75},{"index":19,"namespace":null,"name":"Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Http\/Controllers\/Dashboard\/DashboardSalesPurchasesTrendController.php","line":47},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1791205939.553008,"duration":0.00073,"duration_str":"730\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null}]},"livewire":{"data":[],"count":0},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"session":[],"request":{"data":{"status":"200 OK","full_url":"https:\/\/marwansub7.pat.vomdev.com\/api\/v2\/companyuser\/dashboard\/sales-purchases-trend?basis=accrual&f...","action_name":"company.dashboard-v2.sales-purchases-trend","controller_action":"Modules\\CompanyUser\\Http\\Controllers\\Dashboard\\DashboardSalesPurchasesTrendController","uri":"GET api\/v2\/companyuser\/dashboard\/sales-purchases-trend","domain":"{subdomain}.pat.vomdev.com","excluded_middleware":["throttle:60,1"],"controller":"Modules\\CompanyUser\\Http\\Controllers\\Dashboard\\DashboardSalesPurchasesTrendController","namespace":"Modules\\CompanyUser\\Http\\Controllers","prefix":"api\/v2\/companyuser\/dashboard","middleware":"Laravel\\Nightwatch\\Hooks\\GlobalMiddleware, api, api.v2.auth, throttle:180,1, Laravel\\Nightwatch\\Hooks\\RouteMiddleware","duration":"442ms","peak_memory":"8MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-1956829177 data-indent-pad=\"  \"><span class=sf-dump-note>array:4<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>type<\/span>\" => \"<span class=sf-dump-str title=\"5 characters\">today<\/span>\"\n  \"<span class=sf-dump-key>from<\/span>\" => \"<span class=sf-dump-str title=\"10 characters\">2026-10-05<\/span>\"\n  \"<span class=sf-dump-key>to<\/span>\" => \"<span class=sf-dump-str title=\"10 characters\">2026-10-05<\/span>\"\n  \"<span class=sf-dump-key>basis<\/span>\" => \"<span class=sf-dump-str title=\"7 characters\">accrual<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1956829177\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-174703155 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-174703155\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1144126760 data-indent-pad=\"  \"><span class=sf-dump-note>array:16<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cookie<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"903 characters\">_ga=GA1.1.716992467.1721117738; XSRF-TOKEN=eyJpdiI6ImZHVTRjUzdhQ3h2VnBrUXFKSlRXYkE9PSIsInZhbHVlIjoiK2RObHhUQ09GRTJ0ZmhqUURKK3hwVUhMc05sWjlveGNsRjBDUjc2b0NYWGdYZVI2Wk9DWUluRFhjWTFyUFVKTnNRMlIraGVTNTRteWJwSEZyTEZENENpV1dXRkFWd0RhZDJqOEpJR0UrK0YwOWNVNXFtT0d2cXJxWWhyK3ZCS3YiLCJtYWMiOiIxMmEyYjBmNmFjMTcwYjkyMzYyMDdjZWZmMGM5ZTM5ZDdiNTljYjcxNzI0ZmY0MDM4ZGYwYjM1Njg2MmI1MDMyIiwidGFnIjoiIn0%3D; vom_session=eyJpdiI6IkJMbkNzMXE0OC93UEkxV1d0bFBBNFE9PSIsInZhbHVlIjoiblY4aVFHUHdpRUM0V09KRnZDOUNWZElKdlROcUQyMXhWaHp3MXJlK2JHOGNVK1puRFZKS01rNzMrdVU5VGJIbWlYRFdqT1o3Y3c3dUphWmpMVlV3TTBTbHUwU2NHZk40cFRzK2FKUjRpR3ZQcTlEbm9zMmxESFROQldTblUvVHgiLCJtYWMiOiJkNmY5YjQyMzdiNDM1ZTY1NDM0Mzg3NGEwNzY1Y2UwZmE4ODVmYjE1NGE5NjA4ZmYxZDlmZDZlNDc4ZDJiZmZiIiwidGFnIjoiIn0%3D; _ga_ZJMY628BXV=GS2.1.s1791205937$o1777$g1$t1791205937$j60$l0$h0; _dd_s=logs=1&amp;id=453a0314-2246-45f0-8c19-0e17422b6666&amp;created=1791199373819&amp;expire=1791206837960<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-encoding<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"23 characters\">gzip, deflate, br, zstd<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>referer<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"46 characters\">https:\/\/marwansub7.pat.vomdev.com\/en\/dashboard<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-dest<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"5 characters\">empty<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-mode<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"4 characters\">cors<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-site<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"11 characters\">same-origin<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"111 characters\">Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/154.0.0.0 Safari\/537.36<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-requested-with<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"14 characters\">XMLHttpRequest<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-mobile<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">?0<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"65 characters\">&quot;Chromium&quot;;v=&quot;154&quot;, &quot;Google Chrome&quot;;v=&quot;154&quot;, &quot;Not A(Brand&quot;;v=&quot;99&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-language<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">en<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-platform<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"9 characters\">&quot;Windows&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>connection<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"10 characters\">keep-alive<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>host<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"25 characters\">marwansub7.pat.vomdev.com<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>authorization<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"18 characters\">Bearer 18549******<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1144126760\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1181881539 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>_ga<\/span>\" => \"<span class=sf-dump-str title=\"26 characters\">GA1.1.716992467.1721117738<\/span>\"\n  \"<span class=sf-dump-key>XSRF-TOKEN<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6ImZHVTRjUzdhQ3h2VnBrUXFKSlRXYkE9PSIsInZhbHVlIjoiK2RObHhUQ09GRTJ0ZmhqUURKK3hwVUhMc05sWjlveGNsRjBDUjc2b0NYWGdYZVI2Wk9DWUluRFhjWTFyUFVKTnNRMlIraGVTNTRteWJwSEZyTEZENENpV1dXRkFWd0RhZDJqOEpJR0UrK0YwOWNVNXFtT0d2cXJxWWhyK3ZCS3YiLCJtYWMiOiIxMmEyYjBmNmFjMTcwYjkyMzYyMDdjZWZmMGM5ZTM5ZDdiNTljYjcxNzI0ZmY0MDM4ZGYwYjM1Njg2MmI1MDMyIiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>vom_session<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6IkJMbkNzMXE0OC93UEkxV1d0bFBBNFE9PSIsInZhbHVlIjoiblY4aVFHUHdpRUM0V09KRnZDOUNWZElKdlROcUQyMXhWaHp3MXJlK2JHOGNVK1puRFZKS01rNzMrdVU5VGJIbWlYRFdqT1o3Y3c3dUphWmpMVlV3TTBTbHUwU2NHZk40cFRzK2FKUjRpR3ZQcTlEbm9zMmxESFROQldTblUvVHgiLCJtYWMiOiJkNmY5YjQyMzdiNDM1ZTY1NDM0Mzg3NGEwNzY1Y2UwZmE4ODVmYjE1NGE5NjA4ZmYxZDlmZDZlNDc4ZDJiZmZiIiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>_ga_ZJMY628BXV<\/span>\" => \"<span class=sf-dump-str title=\"48 characters\">GS2.1.s1791205937$o1777$g1$t1791205937$j60$l0$h0<\/span>\"\n  \"<span class=sf-dump-key>_dd_s<\/span>\" => \"<span class=sf-dump-str title=\"89 characters\">logs=1&amp;id=453a0314-2246-45f0-8c19-0e17422b6666&amp;created=1791199373819&amp;expire=1791206837960<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1181881539\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-446510059 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cache-control<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"17 characters\">no-cache, private<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>date<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"29 characters\">Mon, 05 Oct 2026 13:12:19 GMT<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-limit<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">180<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-remaining<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">167<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-446510059\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1923592914 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1923592914\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"https:\/\/marwansub7.pat.vomdev.com\/api\/v2\/companyuser\/dashboard\/sales-purchases-trend?basis=accrual&f...","action_name":"company.dashboard-v2.sales-purchases-trend","controller_action":"Modules\\CompanyUser\\Http\\Controllers\\Dashboard\\DashboardSalesPurchasesTrendController"},"badge":null}}