{"__meta":{"id":"01M45K8H2DF7ESN3K2M56C1REF","datetime":"2026-10-05 11:35:37","utime":1791189337.16562,"method":"GET","uri":"\/api\/v2\/companyuser\/dashboard\/sales-purchases-trend?type=this_year&from=2026-01-01&to=2026-12-31&basis=cash","ip":"197.133.147.83"},"php":{"version":"8.3.35","interface":"fpm-fcgi"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1791189336.980908,"end":1791189337.165634,"duration":0.18472599983215332,"duration_str":"185ms","measures":[{"label":"Booting","start":1791189336.980908,"relative_start":0,"end":1791189337.08868,"relative_end":1791189337.08868,"duration":0.1077721118927002,"duration_str":"108ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1791189337.08869,"relative_start":0.10778212547302246,"end":1791189337.165636,"relative_end":2.1457672119140625e-6,"duration":0.07694602012634277,"duration_str":"76.95ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1791189337.089662,"relative_start":0.10875415802001953,"end":1791189337.092546,"relative_end":1791189337.092546,"duration":0.0028839111328125,"duration_str":"2.88ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1791189337.165018,"relative_start":0.18411016464233398,"end":1791189337.1651,"relative_end":1791189337.1651,"duration":8.20159912109375e-5,"duration_str":"82\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1791189337.165468,"relative_start":0.18456006050109863,"end":1791189337.165483,"relative_end":1791189337.165483,"duration":1.5020370483398438e-5,"duration_str":"15\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":8953880,"peak_usage_str":"9MB"},"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":34,"nb_statements":33,"nb_visible_statements":34,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.020810000000000002,"accumulated_duration_str":"20.81ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"select * from `cold_archived_accounts` where `status` = 'archived' and (LOWER(subdomain) = 'pygusage' or LOWER(subdomain) = 'pygusage.pat.vomdev.com') order by `archived_at` desc limit 1","type":"query","params":[],"bindings":["archived","pygusage","pygusage.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":1791189337.093819,"duration":0.0004,"duration_str":"400\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` = 9927 and `websites`.`deleted_at` is null limit 1","type":"query","params":[],"bindings":[9927],"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":1791189337.0952852,"duration":0.00028000000000000003,"duration_str":"280\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 (9927) 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":1791189337.0962138,"duration":0.00026000000000000003,"duration_str":"260\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` = 9694 and `active_subscriptions`.`deleted_at` is null order by `created_at` desc limit 1","type":"query","params":[],"bindings":[9694],"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":1791189337.0975711,"duration":0.00032,"duration_str":"320\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":1791189337.100189,"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_pygusage","explain":null},{"sql":"select * from `personal_access_tokens` where `personal_access_tokens`.`id` = '2068' limit 1","type":"query","params":[],"bindings":["2068"],"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":1791189337.100573,"duration":0.00141,"duration_str":"1.41ms","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_pygusage","explain":null},{"sql":"select * from `users` where `users`.`id` = 1 and `users`.`deleted_at` is null limit 1","type":"query","params":[],"bindings":[1],"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":1791189337.103316,"duration":0.00031,"duration_str":"310\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_pygusage","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":37},{"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":82}],"start":1791189337.106767,"duration":0.00049,"duration_str":"490\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_pygusage","explain":null},{"sql":"select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (1) and `model_has_roles`.`model_type` = 'Modules\\\\CompanyUser\\\\Models\\\\User'","type":"query","params":[],"bindings":["Modules\\CompanyUser\\Models\\User"],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/html\/vom\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},{"index":23,"namespace":null,"name":"Modules\/CompanyUser\/Models\/User.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Models\/User.php","line":117},{"index":24,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":251},{"index":25,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":106},{"index":26,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":27}],"start":1791189337.111276,"duration":0.0005899999999999999,"duration_str":"590\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"HasRoles.php:188","source":{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/html\/vom\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasRoles.php&line=188","ajax":false,"filename":"HasRoles.php","line":"188"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select `permissions`.*, `role_has_permissions`.`role_id` as `pivot_role_id`, `role_has_permissions`.`permission_id` as `pivot_permission_id` from `permissions` inner join `role_has_permissions` on `permissions`.`id` = `role_has_permissions`.`permission_id` where `role_has_permissions`.`role_id` in (1)","type":"query","params":[],"bindings":[],"hints":["Use <code>SELECT *<\/code> only if you need all columns from table"],"show_copy":false,"backtrace":[{"index":26,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/html\/vom\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},{"index":27,"namespace":null,"name":"Modules\/CompanyUser\/Models\/User.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Models\/User.php","line":117},{"index":28,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":251},{"index":29,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":106},{"index":30,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":27}],"start":1791189337.113835,"duration":0.00171,"duration_str":"1.71ms","slow":false,"memory":0,"memory_str":null,"filename":"HasRoles.php:188","source":{"index":26,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/html\/vom\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasRoles.php&line=188","ajax":false,"filename":"HasRoles.php","line":"188"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2024-01-01' and `date` <= '2024-03-31' limit 1","type":"query","params":[],"bindings":["2024-01-01","2024-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.1358619,"duration":0.00058,"duration_str":"580\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2024-01-01 00:00:00' and `transaction_date` <= '2024-03-31 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2024-01-01 00:00:00","2024-03-31 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.1376169,"duration":0.0004,"duration_str":"400\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2024-04-01' and `date` <= '2024-06-30' limit 1","type":"query","params":[],"bindings":["2024-04-01","2024-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.138672,"duration":0.00033,"duration_str":"330\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2024-04-01 00:00:00' and `transaction_date` <= '2024-06-30 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2024-04-01 00:00:00","2024-06-30 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.139663,"duration":0.00033,"duration_str":"330\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2024-07-01' and `date` <= '2024-09-30' limit 1","type":"query","params":[],"bindings":["2024-07-01","2024-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.1405451,"duration":0.00033,"duration_str":"330\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2024-07-01 00:00:00' and `transaction_date` <= '2024-09-30 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2024-07-01 00:00:00","2024-09-30 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.141413,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2024-10-01' and `date` <= '2024-12-31' limit 1","type":"query","params":[],"bindings":["2024-10-01","2024-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.142291,"duration":0.00034,"duration_str":"340\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2024-10-01 00:00:00' and `transaction_date` <= '2024-12-31 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2024-10-01 00:00:00","2024-12-31 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.143145,"duration":0.0003,"duration_str":"300\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2025-01-01' and `date` <= '2025-03-31' limit 1","type":"query","params":[],"bindings":["2025-01-01","2025-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.143965,"duration":0.00034,"duration_str":"340\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2025-01-01 00:00:00' and `transaction_date` <= '2025-03-31 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2025-01-01 00:00:00","2025-03-31 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.144826,"duration":0.00034,"duration_str":"340\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2025-04-01' and `date` <= '2025-06-30' limit 1","type":"query","params":[],"bindings":["2025-04-01","2025-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.145726,"duration":0.00032,"duration_str":"320\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2025-04-01 00:00:00' and `transaction_date` <= '2025-06-30 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2025-04-01 00:00:00","2025-06-30 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.1465921,"duration":0.0003,"duration_str":"300\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2025-07-01' and `date` <= '2025-09-30' limit 1","type":"query","params":[],"bindings":["2025-07-01","2025-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.147427,"duration":0.00032,"duration_str":"320\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2025-07-01 00:00:00' and `transaction_date` <= '2025-09-30 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2025-07-01 00:00:00","2025-09-30 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.148264,"duration":0.00034,"duration_str":"340\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2025-10-01' and `date` <= '2025-12-31' limit 1","type":"query","params":[],"bindings":["2025-10-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.149122,"duration":0.0003,"duration_str":"300\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2025-10-01 00:00:00' and `transaction_date` <= '2025-12-31 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2025-10-01 00:00:00","2025-12-31 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.149899,"duration":0.00032,"duration_str":"320\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2026-01-01' and `date` <= '2026-03-31' limit 1","type":"query","params":[],"bindings":["2026-01-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.15083,"duration":0.00106,"duration_str":"1.06ms","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2026-01-01 00:00:00' and `transaction_date` <= '2026-03-31 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2026-01-01 00:00:00","2026-03-31 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.152533,"duration":0.00067,"duration_str":"670\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2026-04-01' and `date` <= '2026-06-30' limit 1","type":"query","params":[],"bindings":["2026-04-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.15377,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2026-04-01 00:00:00' and `transaction_date` <= '2026-06-30 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2026-04-01 00:00:00","2026-06-30 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.1546311,"duration":0.00029,"duration_str":"290\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2026-07-01' and `date` <= '2026-09-30' limit 1","type":"query","params":[],"bindings":["2026-07-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.15553,"duration":0.00591,"duration_str":"5.91ms","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2026-07-01 00:00:00' and `transaction_date` <= '2026-09-30 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2026-07-01 00:00:00","2026-09-30 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.162052,"duration":0.00053,"duration_str":"530\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN total_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN total_amount ELSE 0 END) AS total_sales, SUM(CASE WHEN transaction_type IN ('invoice', 'debit_note') THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'invoice_return' THEN paid_amount ELSE 0 END) AS paid_sales, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN gross_amount ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN gross_amount ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_in' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'customer_receipt' AND operation_type = 'pay_out' THEN outstanding_amount ELSE 0 END) AS not_assigned_pay_out from `report_sales_summary` where `date` >= '2026-10-01' and `date` <= '2026-12-31' limit 1","type":"query","params":[],"bindings":["2026-10-01","2026-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":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisSalesService.php","line":26},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":71},{"index":21,"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":22,"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":1791189337.163154,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportSalesSummary.php:180","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportSalesSummary.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportSalesSummary.php","line":180},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportSalesSummary.php&line=180","ajax":false,"filename":"ReportSalesSummary.php","line":"180"},"connection":"VOM_tenant_pygusage","explain":null},{"sql":"select SUM(CASE WHEN transaction_type = 'bill' THEN net_total ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN net_total ELSE 0 END) AS total_purchases, SUM(CASE WHEN transaction_type = 'bill' THEN paid_amount ELSE 0 END) - SUM(CASE WHEN transaction_type = 'bill_return' THEN paid_amount ELSE 0 END) AS paid_purchases, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN gross ELSE 0 END) AS total_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN gross ELSE 0 END) AS total_pay_out, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'received' THEN outstanding ELSE 0 END) AS not_assigned_pay_in, SUM(CASE WHEN transaction_type = 'receipt' AND kind = 'paid' THEN outstanding ELSE 0 END) AS not_assigned_pay_out from `report_purchases_summary_transactions` where `transaction_date` >= '2026-10-01 00:00:00' and `transaction_date` <= '2026-12-31 23:59:59' limit 1","type":"query","params":[],"bindings":["bill","bill_return","bill","bill_return","receipt","received","receipt","paid","receipt","received","receipt","paid","2026-10-01 00:00:00","2026-12-31 23:59:59"],"hints":["<code>LIMIT<\/code> without <code>ORDER BY<\/code> causes non-deterministic results, depending on the query execution plan"],"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},{"index":17,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/CashBasis\/CashBasisPurchasesService.php","line":23},{"index":18,"namespace":null,"name":"Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","file":"\/var\/www\/html\/vom\/Modules\/CompanyUser\/Services\/Dashboard\/Trends\/DashboardSalesPurchasesTrendService.php","line":72},{"index":21,"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":22,"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":1791189337.164079,"duration":0.00031,"duration_str":"310\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ReportPurchasesSummaryTransaction.php:212","source":{"index":16,"namespace":null,"name":"Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","file":"\/var\/www\/html\/vom\/Modules\/Reports\/Models\/ReportPurchasesSummaryTransaction.php","line":212},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2Fvom%2FModules%2FReports%2FModels%2FReportPurchasesSummaryTransaction.php&line=212","ajax":false,"filename":"ReportPurchasesSummaryTransaction.php","line":"212"},"connection":"VOM_tenant_pygusage","explain":null}]},"livewire":{"data":[],"count":0},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"session":[],"request":{"data":{"status":"200 OK","full_url":"https:\/\/pygusage.pat.vomdev.com\/api\/v2\/companyuser\/dashboard\/sales-purchases-trend?basis=cash&from=2...","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":"189ms","peak_memory":"10MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-410298497 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=\"9 characters\">this_year<\/span>\"\n  \"<span class=sf-dump-key>from<\/span>\" => \"<span class=sf-dump-str title=\"10 characters\">2026-01-01<\/span>\"\n  \"<span class=sf-dump-key>to<\/span>\" => \"<span class=sf-dump-str title=\"10 characters\">2026-12-31<\/span>\"\n  \"<span class=sf-dump-key>basis<\/span>\" => \"<span class=sf-dump-str title=\"4 characters\">cash<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-410298497\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-395213900 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-395213900\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1778852324 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=\"770 characters\">token=1927|dhVB6zQExGT4mizOrOQfZvlihYlpm7ve44o4O2Smd143b8e4; XSRF-TOKEN=eyJpdiI6ImRoYThZMFBRSnF1cUVTSE4vNjA4RWc9PSIsInZhbHVlIjoiZlcwVEVSakM3TlpMYUxuNDVkdDVHSC9ITzRaMGRZcUtjVzJqVGphQTRZc09MMXZ6ditsang5TjRvU0t5OXdvaHBYeVp3d1ZQNjYyYlJaNURjWEd1ZUtYWHhzaDIrLzJkSDNPTlJma3dSU0ZkeXA2UkFqdkJyRjFaQmVTeGFZdlEiLCJtYWMiOiIyMTlkMzRmMTg4ODIxMzJjOTQ1Nzk5YmEwNTQzMzdkY2NmZjIxYjI3ZGNkY2VmYTcyMmNmZDhjN2NhYTYyMzYyIiwidGFnIjoiIn0%3D; vom_session=eyJpdiI6Ik9SQVlYOU5lOC91MUJrYSs2aS93cmc9PSIsInZhbHVlIjoiMG13dnpXYTdHUUg1bTBTd1FERG90RE00ejhlRU9BQW5DazJrREJydXdRL0pOeDFrTi90TExIYUlUNUlsZ3YyWDJ6V0NBUGFVbFZaQ0d1ZENmdlZCd0hsS1FiMEtmS3BOOVFHemNrcTRtZy9zdGtrbytEdnZHeksrMFJoYzVWcWEiLCJtYWMiOiI5ZDU0YzAzMTQyNmM3NDAxM2VkODQ4ZTkyMmM0NjY1OWFkZmQzMDY3ZmE0MjU4MDViMTAzMjZhODQ1OTE4MTgyIiwidGFnIjoiIn0%3D<\/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=\"44 characters\">https:\/\/pygusage.pat.vomdev.com\/ar\/dashboard<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-dest<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"5 characters\">empty<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-mode<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"4 characters\">cors<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-site<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"11 characters\">same-origin<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"135 characters\">Mozilla\/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/18.5 Mobile\/15E148 Safari\/604.1<\/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\">?1<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"65 characters\">&quot;Chromium&quot;;v=&quot;154&quot;, &quot;Google Chrome&quot;;v=&quot;154&quot;, &quot;Not A(Brand&quot;;v=&quot;99&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-language<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">ar<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-platform<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"5 characters\">&quot;iOS&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=\"23 characters\">pygusage.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 2068|******<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1778852324\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1733017890 data-indent-pad=\"  \"><span class=sf-dump-note>array:3<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>token<\/span>\" => \"<span class=sf-dump-str title=\"53 characters\">1927|dhVB6zQExGT4mizOrOQfZvlihYlpm7ve44o4O2Smd143b8e4<\/span>\"\n  \"<span class=sf-dump-key>XSRF-TOKEN<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6ImRoYThZMFBRSnF1cUVTSE4vNjA4RWc9PSIsInZhbHVlIjoiZlcwVEVSakM3TlpMYUxuNDVkdDVHSC9ITzRaMGRZcUtjVzJqVGphQTRZc09MMXZ6ditsang5TjRvU0t5OXdvaHBYeVp3d1ZQNjYyYlJaNURjWEd1ZUtYWHhzaDIrLzJkSDNPTlJma3dSU0ZkeXA2UkFqdkJyRjFaQmVTeGFZdlEiLCJtYWMiOiIyMTlkMzRmMTg4ODIxMzJjOTQ1Nzk5YmEwNTQzMzdkY2NmZjIxYjI3ZGNkY2VmYTcyMmNmZDhjN2NhYTYyMzYyIiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>vom_session<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6Ik9SQVlYOU5lOC91MUJrYSs2aS93cmc9PSIsInZhbHVlIjoiMG13dnpXYTdHUUg1bTBTd1FERG90RE00ejhlRU9BQW5DazJrREJydXdRL0pOeDFrTi90TExIYUlUNUlsZ3YyWDJ6V0NBUGFVbFZaQ0d1ZENmdlZCd0hsS1FiMEtmS3BOOVFHemNrcTRtZy9zdGtrbytEdnZHeksrMFJoYzVWcWEiLCJtYWMiOiI5ZDU0YzAzMTQyNmM3NDAxM2VkODQ4ZTkyMmM0NjY1OWFkZmQzMDY3ZmE0MjU4MDViMTAzMjZhODQ1OTE4MTgyIiwidGFnIjoiIn0=<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1733017890\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-695345011 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 08:35:37 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\">114<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-695345011\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-110318393 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-110318393\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"https:\/\/pygusage.pat.vomdev.com\/api\/v2\/companyuser\/dashboard\/sales-purchases-trend?basis=cash&from=2...","action_name":"company.dashboard-v2.sales-purchases-trend","controller_action":"Modules\\CompanyUser\\Http\\Controllers\\Dashboard\\DashboardSalesPurchasesTrendController"},"badge":null}}