{"__meta":{"id":"01M4633ANS42T6NG6NYBRV25T9","datetime":"2026-10-05 16:12:23","utime":1791205943.993729,"method":"GET","uri":"\/api\/v2\/companyuser\/dashboard\/sales-purchases-trend?type=custom&from=2026-10-01&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":1791205943.592107,"end":1791205943.993743,"duration":0.40163588523864746,"duration_str":"402ms","measures":[{"label":"Booting","start":1791205943.592107,"relative_start":0,"end":1791205943.761394,"relative_end":1791205943.761394,"duration":0.16928696632385254,"duration_str":"169ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1791205943.761412,"relative_start":0.16930484771728516,"end":1791205943.993745,"relative_end":2.1457672119140625e-6,"duration":0.23233318328857422,"duration_str":"232ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1791205943.762878,"relative_start":0.17077088356018066,"end":1791205943.767742,"relative_end":1791205943.767742,"duration":0.0048639774322509766,"duration_str":"4.86ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1791205943.992954,"relative_start":0.4008469581604004,"end":1791205943.993043,"relative_end":1791205943.993043,"duration":8.893013000488281e-5,"duration_str":"89\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1791205943.993541,"relative_start":0.40143394470214844,"end":1791205943.993558,"relative_end":1791205943.993558,"duration":1.6927719116210938e-5,"duration_str":"17\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":7070816,"peak_usage_str":"7MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"count":0,"nb_templates":0,"templates":[]},"route":{"uri":"GET api\/v2\/companyuser\/dashboard\/sales-purchases-trend","middleware":"Laravel\\Nightwatch\\Hooks\\GlobalMiddleware, api, api.v2.auth, throttle:180,1, Laravel\\Nightwatch\\Hooks\\RouteMiddleware","domain":"{subdomain}.pat.vomdev.com","excluded_middleware":["throttle:60,1"],"uses":"Modules\\CompanyUser\\Http\\Controllers\\Dashboard\\DashboardSalesPurchasesTrendController@__invoke","controller":"Modules\\CompanyUser\\Http\\Controllers\\Dashboard\\DashboardSalesPurchasesTrendController","as":"company.dashboard-v2.sales-purchases-trend","namespace":"Modules\\CompanyUser\\Http\\Controllers","prefix":"api\/v2\/companyuser\/dashboard"},"queries":{"count":56,"nb_statements":55,"nb_visible_statements":56,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.15720999999999993,"accumulated_duration_str":"157ms","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":1791205943.76998,"duration":0.0007099999999999999,"duration_str":"710\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":1791205943.772592,"duration":0.0005,"duration_str":"500\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":1791205943.774267,"duration":0.0005,"duration_str":"500\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":1791205943.776684,"duration":0.00049,"duration_str":"490\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":1791205943.780928,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"PersonalAccessToken.php:66","source":{"index":15,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FPersonalAccessToken.php&line=66","ajax":false,"filename":"PersonalAccessToken.php","line":"66"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select * from `personal_access_tokens` where `personal_access_tokens`.`id` = '18549' limit 1","type":"query","params":[],"bindings":["18549"],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table","<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","line":66},{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":67},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":25,"namespace":"middleware","name":"api.v2.auth","file":"\/var\/www\/html\/vom\/app\/Http\/Middleware\/Api\/isAuthenticated.php","line":21},{"index":26,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183}],"start":1791205943.7816072,"duration":0.00206,"duration_str":"2.06ms","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":1791205943.785941,"duration":0.00041,"duration_str":"410\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"Guard.php:161","source":{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"\/var\/www\/html\/vom\/vendor\/laravel\/sanctum\/src\/Guard.php","line":161},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FGuard.php&line=161","ajax":false,"filename":"Guard.php","line":"161"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select * from `fiscal_year` where `fiscal_year`.`id` in (0, 0, 0, 0, 0) and `fiscal_year`.`deleted_at` is null","type":"query","params":[],"bindings":[],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","file":"\/var\/www\/html\/vom\/vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","line":64},{"index":20,"namespace":null,"name":"vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","file":"\/var\/www\/html\/vom\/vendor\/flobbos\/laravel-crudable\/src\/Crudable\/Crudable.php","line":27},{"index":21,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Period\/DashboardFiscalYearCalendar.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Period\/DashboardFiscalYearCalendar.php","line":92},{"index":22,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Period\/DashboardFiscalYearCalendar.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Period\/DashboardFiscalYearCalendar.php","line":83},{"index":23,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Period\/ResolvingDashboardPeriodService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Period\/ResolvingDashboardPeriodService.php","line":115}],"start":1791205943.791735,"duration":0.00051,"duration_str":"510\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":1791205943.7944021,"duration":0.00891,"duration_str":"8.91ms","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":1791205943.8040638,"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 (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":1791205943.80529,"duration":0.00189,"duration_str":"1.89ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `single_record_journal_entries`.`journal_date` between '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":1791205943.8078299,"duration":0.00058,"duration_str":"580\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":1791205943.809267,"duration":0.00696,"duration_str":"6.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":1791205943.8173342,"duration":0.00082,"duration_str":"820\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":1791205943.819213,"duration":0.0030299999999999997,"duration_str":"3.03ms","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":1791205943.8235302,"duration":0.0009699999999999999,"duration_str":"970\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":1791205943.825752,"duration":0.009789999999999998,"duration_str":"9.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 (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":1791205943.8365972,"duration":0.0008,"duration_str":"800\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-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":1791205943.838448,"duration":0.00273,"duration_str":"2.73ms","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":1791205943.842343,"duration":0.0007099999999999999,"duration_str":"710\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":1791205943.84412,"duration":0.01017,"duration_str":"10.17ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (8, 9) and `single_record_journal_entries`.`journal_date` between '2026-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":1791205943.855258,"duration":0.0007700000000000001,"duration_str":"770\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-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":1791205943.857202,"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 '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":1791205943.861024,"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-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":1791205943.862882,"duration":0.00968,"duration_str":"9.68ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (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":1791205943.8735511,"duration":0.00086,"duration_str":"860\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":1791205943.875421,"duration":0.00283,"duration_str":"2.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 (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":1791205943.879233,"duration":0.0007099999999999999,"duration_str":"710\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":1791205943.880746,"duration":0.009210000000000001,"duration_str":"9.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":1791205943.890937,"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-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":1791205943.892272,"duration":0.00232,"duration_str":"2.32ms","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":1791205943.8952398,"duration":0.00058,"duration_str":"580\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":1791205943.896591,"duration":0.01009,"duration_str":"10.09ms","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":1791205943.9075658,"duration":0.0006,"duration_str":"600\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":1791205943.909144,"duration":0.00209,"duration_str":"2.09ms","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":1791205943.912117,"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 (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":1791205943.9138439,"duration":0.007940000000000001,"duration_str":"7.94ms","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":1791205943.922718,"duration":0.0007199999999999999,"duration_str":"720\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '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":1791205943.924507,"duration":0.00218,"duration_str":"2.18ms","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":1791205943.927603,"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 (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":1791205943.929324,"duration":0.0081,"duration_str":"8.1ms","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":1791205943.938528,"duration":0.00086,"duration_str":"860\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":1791205943.9404821,"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-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":1791205943.944433,"duration":0.00076,"duration_str":"760\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":1791205943.946307,"duration":0.0077599999999999995,"duration_str":"7.76ms","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":1791205943.955006,"duration":0.0007700000000000001,"duration_str":"770\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'credit' THEN journal_records.value ELSE 0 END), 0) AS credit_total,COALESCE(SUM(CASE WHEN journal_records.transaction_type = 'debit' THEN journal_records.value ELSE 0 END), 0) AS debit_total from `journal_records` inner join `accounts` on `accounts`.`id` = `journal_records`.`account_id` where `journal_records`.`deleted_at` is null and `accounts`.`subcategory_id` in (13) and `journal_records`.`journal_date` between '2026-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":1791205943.9566119,"duration":0.00249,"duration_str":"2.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 (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":1791205943.959927,"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 (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":1791205943.96148,"duration":0.00912,"duration_str":"9.12ms","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":1791205943.9712338,"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 (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":1791205943.9728372,"duration":0.0022,"duration_str":"2.2ms","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":1791205943.976372,"duration":0.00078,"duration_str":"780\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":1791205943.97839,"duration":0.00715,"duration_str":"7.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-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":1791205943.986321,"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":1791205943.9880931,"duration":0.00244,"duration_str":"2.44ms","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:403","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":403},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=403","ajax":false,"filename":"LedgerBalanceService.php","line":"403"},"connection":"VOM_tenant_marwansub7","explain":null},{"sql":"select COALESCE(SUM(single_record_accounts.credit), 0) AS credit_total,COALESCE(SUM(single_record_accounts.debit), 0) AS debit_total from `single_record_accounts` inner join `single_record_journal_entries` on `single_record_journal_entries`.`id` = `single_record_accounts`.`single_record_id` inner join `accounts` on `accounts`.`id` = `single_record_accounts`.`account_id` where `single_record_journal_entries`.`deleted_at` is null and `accounts`.`subcategory_id` in (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":1791205943.991411,"duration":0.0007700000000000001,"duration_str":"770\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"LedgerBalanceService.php:339","source":{"index":14,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Ledger\/LedgerBalanceService.php","line":339},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FCompanyUser%2FServices%2FDashboard%2FLedger%2FLedgerBalanceService.php&line=339","ajax":false,"filename":"LedgerBalanceService.php","line":"339"},"connection":"VOM_tenant_marwansub7","explain":null}]},"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":"408ms","peak_memory":"8MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-526027542 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=\"6 characters\">custom<\/span>\"\n  \"<span class=sf-dump-key>from<\/span>\" => \"<span class=sf-dump-str title=\"10 characters\">2026-10-01<\/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-526027542\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1856432736 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1856432736\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1529113948 data-indent-pad=\"  \"><span class=sf-dump-note>array:16<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cookie<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"903 characters\">_ga=GA1.1.716992467.1721117738; XSRF-TOKEN=eyJpdiI6ImZHVTRjUzdhQ3h2VnBrUXFKSlRXYkE9PSIsInZhbHVlIjoiK2RObHhUQ09GRTJ0ZmhqUURKK3hwVUhMc05sWjlveGNsRjBDUjc2b0NYWGdYZVI2Wk9DWUluRFhjWTFyUFVKTnNRMlIraGVTNTRteWJwSEZyTEZENENpV1dXRkFWd0RhZDJqOEpJR0UrK0YwOWNVNXFtT0d2cXJxWWhyK3ZCS3YiLCJtYWMiOiIxMmEyYjBmNmFjMTcwYjkyMzYyMDdjZWZmMGM5ZTM5ZDdiNTljYjcxNzI0ZmY0MDM4ZGYwYjM1Njg2MmI1MDMyIiwidGFnIjoiIn0%3D; vom_session=eyJpdiI6IkJMbkNzMXE0OC93UEkxV1d0bFBBNFE9PSIsInZhbHVlIjoiblY4aVFHUHdpRUM0V09KRnZDOUNWZElKdlROcUQyMXhWaHp3MXJlK2JHOGNVK1puRFZKS01rNzMrdVU5VGJIbWlYRFdqT1o3Y3c3dUphWmpMVlV3TTBTbHUwU2NHZk40cFRzK2FKUjRpR3ZQcTlEbm9zMmxESFROQldTblUvVHgiLCJtYWMiOiJkNmY5YjQyMzdiNDM1ZTY1NDM0Mzg3NGEwNzY1Y2UwZmE4ODVmYjE1NGE5NjA4ZmYxZDlmZDZlNDc4ZDJiZmZiIiwidGFnIjoiIn0%3D; _ga_ZJMY628BXV=GS2.1.s1791205937$o1777$g1$t1791205937$j60$l0$h0; _dd_s=logs=1&amp;id=453a0314-2246-45f0-8c19-0e17422b6666&amp;created=1791199373819&amp;expire=1791206842029<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-encoding<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"23 characters\">gzip, deflate, br, zstd<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>referer<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"46 characters\">https:\/\/marwansub7.pat.vomdev.com\/en\/dashboard<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-dest<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"5 characters\">empty<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-mode<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"4 characters\">cors<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-site<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"11 characters\">same-origin<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"111 characters\">Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/154.0.0.0 Safari\/537.36<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-requested-with<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"14 characters\">XMLHttpRequest<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-mobile<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">?0<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"65 characters\">&quot;Chromium&quot;;v=&quot;154&quot;, &quot;Google Chrome&quot;;v=&quot;154&quot;, &quot;Not A(Brand&quot;;v=&quot;99&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-language<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">en<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-platform<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"9 characters\">&quot;Windows&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>connection<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"10 characters\">keep-alive<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>host<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"25 characters\">marwansub7.pat.vomdev.com<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>authorization<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"18 characters\">Bearer 18549******<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1529113948\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1088652196 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>_ga<\/span>\" => \"<span class=sf-dump-str title=\"26 characters\">GA1.1.716992467.1721117738<\/span>\"\n  \"<span class=sf-dump-key>XSRF-TOKEN<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6ImZHVTRjUzdhQ3h2VnBrUXFKSlRXYkE9PSIsInZhbHVlIjoiK2RObHhUQ09GRTJ0ZmhqUURKK3hwVUhMc05sWjlveGNsRjBDUjc2b0NYWGdYZVI2Wk9DWUluRFhjWTFyUFVKTnNRMlIraGVTNTRteWJwSEZyTEZENENpV1dXRkFWd0RhZDJqOEpJR0UrK0YwOWNVNXFtT0d2cXJxWWhyK3ZCS3YiLCJtYWMiOiIxMmEyYjBmNmFjMTcwYjkyMzYyMDdjZWZmMGM5ZTM5ZDdiNTljYjcxNzI0ZmY0MDM4ZGYwYjM1Njg2MmI1MDMyIiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>vom_session<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6IkJMbkNzMXE0OC93UEkxV1d0bFBBNFE9PSIsInZhbHVlIjoiblY4aVFHUHdpRUM0V09KRnZDOUNWZElKdlROcUQyMXhWaHp3MXJlK2JHOGNVK1puRFZKS01rNzMrdVU5VGJIbWlYRFdqT1o3Y3c3dUphWmpMVlV3TTBTbHUwU2NHZk40cFRzK2FKUjRpR3ZQcTlEbm9zMmxESFROQldTblUvVHgiLCJtYWMiOiJkNmY5YjQyMzdiNDM1ZTY1NDM0Mzg3NGEwNzY1Y2UwZmE4ODVmYjE1NGE5NjA4ZmYxZDlmZDZlNDc4ZDJiZmZiIiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>_ga_ZJMY628BXV<\/span>\" => \"<span class=sf-dump-str title=\"48 characters\">GS2.1.s1791205937$o1777$g1$t1791205937$j60$l0$h0<\/span>\"\n  \"<span class=sf-dump-key>_dd_s<\/span>\" => \"<span class=sf-dump-str title=\"89 characters\">logs=1&amp;id=453a0314-2246-45f0-8c19-0e17422b6666&amp;created=1791199373819&amp;expire=1791206842029<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1088652196\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-1361047441 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cache-control<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"17 characters\">no-cache, private<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>date<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"29 characters\">Mon, 05 Oct 2026 13:12:23 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\">154<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1361047441\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-293970934 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-293970934\", {\"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}}