{"__meta":{"id":"01M461Z6PVHT4A542XPK3RGZRD","datetime":"2026-10-05 15:52:40","utime":1791204760.283142,"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":1791204759.875864,"end":1791204760.283158,"duration":0.40729403495788574,"duration_str":"407ms","measures":[{"label":"Booting","start":1791204759.875864,"relative_start":0,"end":1791204760.02997,"relative_end":1791204760.02997,"duration":0.15410590171813965,"duration_str":"154ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1791204760.029981,"relative_start":0.15411686897277832,"end":1791204760.28316,"relative_end":1.9073486328125e-6,"duration":0.25317907333374023,"duration_str":"253ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1791204760.030981,"relative_start":0.15511703491210938,"end":1791204760.033687,"relative_end":1791204760.033687,"duration":0.0027060508728027344,"duration_str":"2.71ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1791204760.282377,"relative_start":0.406512975692749,"end":1791204760.282473,"relative_end":1791204760.282473,"duration":9.608268737792969e-5,"duration_str":"96\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1791204760.282943,"relative_start":0.40707898139953613,"end":1791204760.282964,"relative_end":1791204760.282964,"duration":2.09808349609375e-5,"duration_str":"21\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":7032696,"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":57,"nb_statements":56,"nb_visible_statements":57,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.19204000000000002,"accumulated_duration_str":"192ms","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":1791204760.034864,"duration":0.00078,"duration_str":"780\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":1791204760.0367742,"duration":0.00049,"duration_str":"490\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":1791204760.037873,"duration":0.00051,"duration_str":"510\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":1791204760.039366,"duration":0.00044,"duration_str":"440\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":1791204760.041904,"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` = '18545' limit 1","type":"query","params":[],"bindings":["18545"],"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":1791204760.0421512,"duration":0.00116,"duration_str":"1.16ms","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":1791204760.044349,"duration":0.00037,"duration_str":"370\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":"update `personal_access_tokens` set `last_used_at` = '2026-10-05 15:52:40', `personal_access_tokens`.`updated_at` = '2026-10-05 15:52:40' where `id` = 18545","type":"query","params":[],"bindings":["2026-10-05 15:52:40","2026-10-05 15:52:40",18545],"hints":[],"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":83},{"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},{"index":22,"namespace":"middleware","name":"localeSessionRedirect","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/Locale.php","line":25}],"start":1791204760.045687,"duration":0.0039900000000000005,"duration_str":"3.99ms","slow":false,"memory":0,"memory_str":null,"filename":"Guard.php:83","source":{"index":14,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":83},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FGuard.php&line=83","ajax":false,"filename":"Guard.php","line":"83"},"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":1791204760.0526628,"duration":0.0004,"duration_str":"400\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":1791204760.054332,"duration":0.011640000000000001,"duration_str":"11.64ms","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":1791204760.0665421,"duration":0.00063,"duration_str":"630\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":1791204760.0676851,"duration":0.00315,"duration_str":"3.15ms","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":1791204760.0714831,"duration":0.00051,"duration_str":"510\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":1791204760.072893,"duration":0.010960000000000001,"duration_str":"10.96ms","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":1791204760.084851,"duration":0.00063,"duration_str":"630\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":1791204760.08614,"duration":0.00279,"duration_str":"2.79ms","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":1791204760.0897691,"duration":0.00066,"duration_str":"660\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":1791204760.091537,"duration":0.01149,"duration_str":"11.49ms","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":1791204760.103982,"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 (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":1791204760.1055598,"duration":0.0033900000000000002,"duration_str":"3.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 (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":1791204760.10989,"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},{"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":1791204760.1116278,"duration":0.015880000000000002,"duration_str":"15.88ms","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":1791204760.128539,"duration":0.0008100000000000001,"duration_str":"810\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":1791204760.1302571,"duration":0.0029300000000000003,"duration_str":"2.93ms","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":1791204760.134118,"duration":0.0005,"duration_str":"500\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":1791204760.1356149,"duration":0.01184,"duration_str":"11.84ms","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":1791204760.148431,"duration":0.00068,"duration_str":"680\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":1791204760.150005,"duration":0.0029,"duration_str":"2.9ms","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":1791204760.1538332,"duration":0.00047999999999999996,"duration_str":"480\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":1791204760.155409,"duration":0.01221,"duration_str":"12.21ms","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":1791204760.1686502,"duration":0.00062,"duration_str":"620\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":1791204760.170245,"duration":0.00237,"duration_str":"2.37ms","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":1791204760.173556,"duration":0.00046,"duration_str":"460\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":1791204760.174994,"duration":0.01053,"duration_str":"10.53ms","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":1791204760.186486,"duration":0.00053,"duration_str":"530\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-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":1791204760.187902,"duration":0.00228,"duration_str":"2.28ms","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":1791204760.19109,"duration":0.00051,"duration_str":"510\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":1791204760.1925428,"duration":0.01183,"duration_str":"11.83ms","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":1791204760.205328,"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 (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":1791204760.206877,"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-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":1791204760.210547,"duration":0.00055,"duration_str":"550\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-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":1791204760.212165,"duration":0.0108,"duration_str":"10.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 '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":1791204760.223975,"duration":0.00067,"duration_str":"670\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":1791204760.2256188,"duration":0.00267,"duration_str":"2.67ms","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":1791204760.229046,"duration":0.0005,"duration_str":"500\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":1791204760.2303932,"duration":0.01115,"duration_str":"11.15ms","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":1791204760.242306,"duration":0.00063,"duration_str":"630\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-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":1791204760.243378,"duration":0.00254,"duration_str":"2.54ms","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":1791204760.2464619,"duration":0.00037,"duration_str":"370\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":1791204760.247753,"duration":0.00902,"duration_str":"9.02ms","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":1791204760.258238,"duration":0.00067,"duration_str":"670\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":1791204760.260102,"duration":0.00275,"duration_str":"2.75ms","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":1791204760.264184,"duration":0.0005899999999999999,"duration_str":"590\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-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":1791204760.266019,"duration":0.00926,"duration_str":"9.26ms","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":1791204760.2762341,"duration":0.00066,"duration_str":"660\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":1791204760.277773,"duration":0.00262,"duration_str":"2.62ms","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":1791204760.281119,"duration":0.00047999999999999996,"duration_str":"480\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":"414ms","peak_memory":"8MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-564897632 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-564897632\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1471921234 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1471921234\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-2142115061 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=eyJpdiI6IkZiMmpuMUdWWkZZUUZONXNIQjNGVWc9PSIsInZhbHVlIjoiTmozc2tOZ2hlVTRxa3E3UnlNSVp3U0xnd0VNU2FtWk8xVE1EVXlzUDY2S3RVbDhYc2pSdlZjQmdhc1FMSzU4MnZFWDhyK0NidGwwNFBaTzgzMm1wM2laOHNHcG0rU2JtVlJBaDBENXU3U1RaSHUzZW5GNGE2Rm9qRVpneXJWcjkiLCJtYWMiOiJjNzNjMWRkMzhhYTY1NTFlYWYxMTM5YzdiZWE1Mjg5ODZkMTdkNDg1N2RjMjI1NTQxOWM5YmNhNzI4NjM0N2M1IiwidGFnIjoiIn0%3D; vom_session=eyJpdiI6IjdiWUIybHY5bzZ6Qk9vQkFsYlZMQ3c9PSIsInZhbHVlIjoiTHpLQjNiSGFwaTRnYzBsYUFnVUcybDkzUTAwa2lwUEltK016K25MZVljQy9MV0Y0bm5ZK01JYzJQSHR6emt3blRNWkRYUTYyTkJNRHN0elYyUW5FMEhHckozc21CdTFNWW1pYkJNZ0RLL1VHdThRc244L1d6TGNxQWMrOFZnNnIiLCJtYWMiOiJmZWZiNTExNTU0NGY1N2U4M2QzODM2ZTFhN2QxZjRlMzA5MjU5ZjQyNWNmY2Q3MDc4OThmMTM0MzEzYWIzM2IxIiwidGFnIjoiIn0%3D; _ga_ZJMY628BXV=GS2.1.s1791204100$o1776$g1$t1791204101$j59$l0$h0; _dd_s=logs=1&amp;id=453a0314-2246-45f0-8c19-0e17422b6666&amp;created=1791199373819&amp;expire=1791205658193<\/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\/ar\/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\">ar<\/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 18545******<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-2142115061\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1753483490 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\">eyJpdiI6IkZiMmpuMUdWWkZZUUZONXNIQjNGVWc9PSIsInZhbHVlIjoiTmozc2tOZ2hlVTRxa3E3UnlNSVp3U0xnd0VNU2FtWk8xVE1EVXlzUDY2S3RVbDhYc2pSdlZjQmdhc1FMSzU4MnZFWDhyK0NidGwwNFBaTzgzMm1wM2laOHNHcG0rU2JtVlJBaDBENXU3U1RaSHUzZW5GNGE2Rm9qRVpneXJWcjkiLCJtYWMiOiJjNzNjMWRkMzhhYTY1NTFlYWYxMTM5YzdiZWE1Mjg5ODZkMTdkNDg1N2RjMjI1NTQxOWM5YmNhNzI4NjM0N2M1IiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>vom_session<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6IjdiWUIybHY5bzZ6Qk9vQkFsYlZMQ3c9PSIsInZhbHVlIjoiTHpLQjNiSGFwaTRnYzBsYUFnVUcybDkzUTAwa2lwUEltK016K25MZVljQy9MV0Y0bm5ZK01JYzJQSHR6emt3blRNWkRYUTYyTkJNRHN0elYyUW5FMEhHckozc21CdTFNWW1pYkJNZ0RLL1VHdThRc244L1d6TGNxQWMrOFZnNnIiLCJtYWMiOiJmZWZiNTExNTU0NGY1N2U4M2QzODM2ZTFhN2QxZjRlMzA5MjU5ZjQyNWNmY2Q3MDc4OThmMTM0MzEzYWIzM2IxIiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>_ga_ZJMY628BXV<\/span>\" => \"<span class=sf-dump-str title=\"48 characters\">GS2.1.s1791204100$o1776$g1$t1791204101$j59$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=1791205658193<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1753483490\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-1234846335 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 12:52:40 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\">175<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1234846335\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1139038007 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1139038007\", {\"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}}