{"__meta":{"id":"01KYY98FX4H7FFPD9TCH470C1F","datetime":"2026-08-01 14:37:40","utime":1785575260.069551944732666015625,"method":"GET","uri":"\/public\/api\/products\/1068\/sale-metrics?party_id=595&company_id=3","ip":"122.169.49.48"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1785575259.8470439910888671875,"end":1785575260.0695650577545166015625,"duration":0.2225210666656494140625,"duration_str":"223ms","measures":[{"label":"Booting","start":1785575259.8470439910888671875,"relative_start":0,"end":1785575260.0004730224609375,"relative_end":1785575260.0004730224609375,"duration":0.1534290313720703125,"duration_str":"153ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1785575260.0004940032958984375,"relative_start":0.15345001220703125,"end":1785575260.0695669651031494140625,"relative_end":1.9073486328125e-6,"duration":0.0690729618072509765625,"duration_str":"69.07ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1785575260.0079610347747802734375,"relative_start":0.1609170436859130859375,"end":1785575260.0095388889312744140625,"relative_end":1785575260.0095388889312744140625,"duration":0.001577854156494140625,"duration_str":"1.58ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1785575260.065001964569091796875,"relative_start":0.217957973480224609375,"end":1785575260.0652120113372802734375,"relative_end":1785575260.0652120113372802734375,"duration":0.0002100467681884765625,"duration_str":"210\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1785575260.06791210174560546875,"relative_start":0.22086811065673828125,"end":1785575260.067965030670166015625,"relative_end":1785575260.067965030670166015625,"duration":5.2928924560546875e-5,"duration_str":"53\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":28551384,"peak_usage_str":"27MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.55.1","PHP Version":"8.4.23","Environment":"local","Debug Mode":"Enabled","URL":"localhost","Timezone":"Asia\/Kolkata","Locale":"en"}},"views":{"count":0,"nb_templates":0,"templates":[]},"queries":{"count":17,"nb_statements":16,"nb_visible_statements":17,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.0104799999999999997324362510653372737579047679901123046875,"accumulated_duration_str":"10.48ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"Connection Established","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":7,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","line":108},{"index":8,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","line":95},{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":158},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":56},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219}],"start":1785575260.01858806610107421875,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"SessionManager.php:108","source":{"index":7,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","line":108},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FSession%2FSessionManager.php&line=108","ajax":false,"filename":"SessionManager.php","line":"108"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":0,"width_percent":0},{"sql":"select * from `sessions` where `id` = 'a5iKGQmFIbva9loLf3a82DLiqmc4CITa4qi4R3Xb' limit 1","type":"query","params":[],"bindings":["a5iKGQmFIbva9loLf3a82DLiqmc4CITa4qi4R3Xb"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":96},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","line":128},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","line":116},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","line":100},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":146}],"start":1785575260.02394199371337890625,"duration":0.00189999999999999999618360835285102439229376614093780517578125,"duration_str":"1.9ms","slow":false,"memory":0,"memory_str":null,"filename":"DatabaseSessionHandler.php:96","source":{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":96},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FSession%2FDatabaseSessionHandler.php&line=96","ajax":false,"filename":"DatabaseSessionHandler.php","line":"96"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":0,"width_percent":18.129999999999999005240169935859739780426025390625},{"sql":"select * from `users` where `id` = 1 limit 1","type":"query","params":[],"bindings":[1],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":58},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":189},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/AuthManager.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/AuthManager.php","line":334},{"index":20,"namespace":"middleware","name":"company.context","file":"\/home\/gigmoz\/public_html\/app\/Http\/Middleware\/SetActiveCompany.php","line":14},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219}],"start":1785575260.038014888763427734375,"duration":0.00071999999999999993692545441348329404718242585659027099609375,"duration_str":"720\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"EloquentUserProvider.php:58","source":{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":58},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FAuth%2FEloquentUserProvider.php&line=58","ajax":false,"filename":"EloquentUserProvider.php","line":"58"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":18.129999999999999005240169935859739780426025390625,"width_percent":6.87000000000000010658141036401502788066864013671875},{"sql":"select * from `companies` order by `name` asc","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/User.php","line":73},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/User.php","line":81},{"index":17,"namespace":"middleware","name":"company.context","file":"\/home\/gigmoz\/public_html\/app\/Http\/Middleware\/SetActiveCompany.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php","line":48}],"start":1785575260.0407660007476806640625,"duration":0.0005000000000000000104083408558608425664715468883514404296875,"duration_str":"500\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"User.php:73","source":{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/User.php","line":73},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FUser.php&line=73","ajax":false,"filename":"User.php","line":"73"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":25,"width_percent":4.77099999999999990762944435118697583675384521484375},{"sql":"select * from `products` where `products`.`id` = '1068' limit 1","type":"query","params":[],"bindings":["1068"],"hints":null,"show_copy":true,"backtrace":[{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":677},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1785575260.044384002685546875,"duration":0.0004299999999999999894355340313012447950313799083232879638671875,"duration_str":"430\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:677","source":{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":677},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=677","ajax":false,"filename":"ProductController.php","line":"677"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":29.7710000000000007958078640513122081756591796875,"width_percent":4.1029999999999997584154698415659368038177490234375},{"sql":"select * from `companies` where `companies`.`id` = 3 limit 1","type":"query","params":[],"bindings":[3],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":682},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1785575260.0453279018402099609375,"duration":0.000359999999999999968462727206741647023591212928295135498046875,"duration_str":"360\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:682","source":{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":682},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=682","ajax":false,"filename":"ProductController.php","line":"682"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":33.87400000000000233058017329312860965728759765625,"width_percent":3.435000000000000053290705182007513940334320068359375},{"sql":"select * from `product_tax_rates` where `product_tax_rates`.`product_id` = 1068 and `product_tax_rates`.`product_id` is not null and `starts_at` <= '2026-08-01 14:37:40' order by `starts_at` asc, `starts_at` desc limit 1","type":"query","params":[],"bindings":[1068,"2026-08-01 14:37:40"],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"app\/Models\/Product.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/Product.php","line":36},{"index":20,"namespace":null,"name":"app\/Support\/ProductTaxResolver.php","file":"\/home\/gigmoz\/public_html\/app\/Support\/ProductTaxResolver.php","line":17},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":685},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265}],"start":1785575260.048160076141357421875,"duration":0.000689999999999999966658614791725767645402811467647552490234375,"duration_str":"690\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"Product.php:36","source":{"index":19,"namespace":null,"name":"app\/Models\/Product.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/Product.php","line":36},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FProduct.php&line=36","ajax":false,"filename":"Product.php","line":"36"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":37.308999999999997498889570124447345733642578125,"width_percent":6.583999999999999630517777404747903347015380859375},{"sql":"select product_id, COALESCE(SUM(qty_pcs), 0) as qty from `product_opening_stocks` where `company_id` = 3 and `product_id` in (1068) group by `product_id`","type":"query","params":[],"bindings":[3,1068],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":123},{"index":15,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":33},{"index":16,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":18},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":694},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46}],"start":1785575260.05171108245849609375,"duration":0.000489999999999999984179321899091519298963248729705810546875,"duration_str":"490\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductStockService.php:123","source":{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":123},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FServices%2FProductStockService.php&line=123","ajax":false,"filename":"ProductStockService.php","line":"123"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":43.893000000000000682121026329696178436279296875,"width_percent":4.6760000000000001563194018672220408916473388671875},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `purchase_items` where `company_id` = 3 and `product_id` in (1068) group by `product_id`","type":"query","params":[],"bindings":[3,1068],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":111},{"index":15,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":34},{"index":16,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":18},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":694},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46}],"start":1785575260.052998065948486328125,"duration":0.0005000000000000000104083408558608425664715468883514404296875,"duration_str":"500\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductStockService.php:111","source":{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":111},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FServices%2FProductStockService.php&line=111","ajax":false,"filename":"ProductStockService.php","line":"111"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":48.5690000000000026147972675971686840057373046875,"width_percent":4.77099999999999990762944435118697583675384521484375},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `sale_items` where `company_id` = 3 and `product_id` in (1068) group by `product_id`","type":"query","params":[],"bindings":[3,1068],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":111},{"index":15,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":35},{"index":16,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":18},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":694},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46}],"start":1785575260.054256916046142578125,"duration":0.0005100000000000000366373598126301658339798450469970703125,"duration_str":"510\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductStockService.php:111","source":{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":111},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FServices%2FProductStockService.php&line=111","ajax":false,"filename":"ProductStockService.php","line":"111"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":53.340000000000003410605131648480892181396484375,"width_percent":4.8659999999999996589394868351519107818603515625},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `sale_return_items` where `company_id` = 3 and `product_id` in (1068) group by `product_id`","type":"query","params":[],"bindings":[3,1068],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":111},{"index":15,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":36},{"index":16,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":18},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":694},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46}],"start":1785575260.05558681488037109375,"duration":0.0004299999999999999894355340313012447950313799083232879638671875,"duration_str":"430\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductStockService.php:111","source":{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":111},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FServices%2FProductStockService.php&line=111","ajax":false,"filename":"ProductStockService.php","line":"111"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":58.2060000000000030695446184836328029632568359375,"width_percent":4.1029999999999997584154698415659368038177490234375},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `purchase_return_items` where `company_id` = 3 and `product_id` in (1068) group by `product_id`","type":"query","params":[],"bindings":[3,1068],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":111},{"index":15,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":37},{"index":16,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":18},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":694},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46}],"start":1785575260.056786060333251953125,"duration":0.000380000000000000020920765120280293558607809245586395263671875,"duration_str":"380\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductStockService.php:111","source":{"index":14,"namespace":null,"name":"app\/Services\/ProductStockService.php","file":"\/home\/gigmoz\/public_html\/app\/Services\/ProductStockService.php","line":111},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FServices%2FProductStockService.php&line=111","ajax":false,"filename":"ProductStockService.php","line":"111"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":62.308999999999997498889570124447345733642578125,"width_percent":3.625999999999999889865875957184471189975738525390625},{"sql":"select `sale_items`.`rate`, `sales`.`invoice_date` from `sale_items` inner join `sales` on `sales`.`id` = `sale_items`.`sale_id` where `sale_items`.`product_id` = '1068' and `sales`.`party_id` = '595' order by `sales`.`invoice_date` desc, `sale_items`.`id` desc limit 1","type":"query","params":[],"bindings":["1068","595"],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":708},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1785575260.05792903900146484375,"duration":0.00071999999999999993692545441348329404718242585659027099609375,"duration_str":"720\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:708","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":708},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=708","ajax":false,"filename":"ProductController.php","line":"708"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":65.93500000000000227373675443232059478759765625,"width_percent":6.87000000000000010658141036401502788066864013671875},{"sql":"select `c`.`name` as `party`, `si`.`rate`, `s`.`invoice_date` from `sale_items` as `si` inner join `sales` as `s` on `s`.`id` = `si`.`sale_id` inner join `customers` as `c` on `c`.`id` = `s`.`party_id` where `si`.`product_id` = '1068' and `s`.`party_id` != '595' order by `s`.`invoice_date` desc limit 5","type":"query","params":[],"bindings":["1068","595"],"hints":null,"show_copy":true,"backtrace":[{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":728},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1785575260.0591030120849609375,"duration":0.00056999999999999997717103905614521863753907382488250732421875,"duration_str":"570\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:728","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":728},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=728","ajax":false,"filename":"ProductController.php","line":"728"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":72.80500000000000682121026329696178436279296875,"width_percent":5.43900000000000005684341886080801486968994140625},{"sql":"select * from `product_price_lists` where `product_id` = '1068' order by `rate` asc, `effective_from` desc limit 1","type":"query","params":[],"bindings":["1068"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":739},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1785575260.0605108737945556640625,"duration":0.0004000000000000000191686944095437183932517655193805694580078125,"duration_str":"400\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:739","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":739},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=739","ajax":false,"filename":"ProductController.php","line":"739"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":78.243999999999999772626324556767940521240234375,"width_percent":3.81700000000000017053025658242404460906982421875},{"sql":"select `c`.`name` as `party`, `co`.`name` as `company_name`, `pi`.`rate` as `base_rate`, `pi`.`tax_percent`, `p`.`invoice_date` from `purchase_items` as `pi` inner join `purchases` as `p` on `p`.`id` = `pi`.`purchase_id` left join `customers` as `c` on `c`.`id` = `p`.`party_id` left join `companies` as `co` on `co`.`id` = `p`.`company_id` where `pi`.`product_id` = '1068' order by `p`.`invoice_date` desc, `pi`.`id` desc limit 5","type":"query","params":[],"bindings":["1068"],"hints":null,"show_copy":true,"backtrace":[{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":757},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1785575260.0614240169525146484375,"duration":0.000449999999999999987683463320564669629675336182117462158203125,"duration_str":"450\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:757","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":757},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=757","ajax":false,"filename":"ProductController.php","line":"757"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":82.061000000000007048583938740193843841552734375,"width_percent":4.29399999999999959499064061674289405345916748046875},{"sql":"update `sessions` set `payload` = 'YTo3OntzOjY6Il90b2tlbiI7czo0MDoiMzhXTkI5a0hSTjhQQWRBcGRSM3dDTUh2UmxHTFBGRlNKQVdzMUc2cyI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6OTA6Imh0dHBzOi8vYmlsbGluZy5naWdtb3ouY29tL3B1YmxpYy9hcGkvcHJvZHVjdHMvMTA2OC9zYWxlLW1ldHJpY3M\/Y29tcGFueV9pZD0zJnBhcnR5X2lkPTU5NSI7czo1OiJyb3V0ZSI7czoyNToicHJvZHVjdHMuZ2V0LnNhbGUubWV0cmljcyI7fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjE7czoxMDoiY29tcGFueV9pZCI7aTozO3M6ODoiY2FzaG1vZGUiO2E6NDp7czo3OiJlbmFibGVkIjtiOjE7czoxMDoiZW5hYmxlZF9hdCI7czoyNzoiMjAyNi0wOC0wMVQwODo1NToxMi4yMzUxMDhaIjtzOjI6ImJ5IjtpOjE7czo1OiJ0b2tlbiI7czoyMDoiMWx3SURuNVl5aDdpVW1yMFk0U00iO31zOjIyOiJQSFBERUJVR0JBUl9TVEFDS19EQVRBIjthOjA6e319', `last_activity` = 1785575260, `user_id` = 1, `ip_address` = '122.169.49.48', `user_agent` = 'Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/150.0.0.0 Safari\/537.36' where `id` = 'a5iKGQmFIbva9loLf3a82DLiqmc4CITa4qi4R3Xb'","type":"query","params":[],"bindings":["YTo3OntzOjY6Il90b2tlbiI7czo0MDoiMzhXTkI5a0hSTjhQQWRBcGRSM3dDTUh2UmxHTFBGRlNKQVdzMUc2cyI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6OTA6Imh0dHBzOi8vYmlsbGluZy5naWdtb3ouY29tL3B1YmxpYy9hcGkvcHJvZHVjdHMvMTA2OC9zYWxlLW1ldHJpY3M\/Y29tcGFueV9pZD0zJnBhcnR5X2lkPTU5NSI7czo1OiJyb3V0ZSI7czoyNToicHJvZHVjdHMuZ2V0LnNhbGUubWV0cmljcyI7fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjE7czoxMDoiY29tcGFueV9pZCI7aTozO3M6ODoiY2FzaG1vZGUiO2E6NDp7czo3OiJlbmFibGVkIjtiOjE7czoxMDoiZW5hYmxlZF9hdCI7czoyNzoiMjAyNi0wOC0wMVQwODo1NToxMi4yMzUxMDhaIjtzOjI6ImJ5IjtpOjE7czo1OiJ0b2tlbiI7czoyMDoiMWx3SURuNVl5aDdpVW1yMFk0U00iO31zOjIyOiJQSFBERUJVR0JBUl9TVEFDS19EQVRBIjthOjA6e319",1785575260,1,"122.169.49.48","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/150.0.0.0 Safari\/537.36","a5iKGQmFIbva9loLf3a82DLiqmc4CITa4qi4R3Xb"],"hints":null,"show_copy":true,"backtrace":[{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":172},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":139},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","line":187},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":248},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":129}],"start":1785575260.06610107421875,"duration":0.001429999999999999847621889870197264826856553554534912109375,"duration_str":"1.43ms","slow":false,"memory":0,"memory_str":null,"filename":"DatabaseSessionHandler.php:172","source":{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":172},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FSession%2FDatabaseSessionHandler.php&line=172","ajax":false,"filename":"DatabaseSessionHandler.php","line":"172"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":86.3550000000000039790393202565610408782958984375,"width_percent":13.644999999999999573674358543939888477325439453125}]},"models":{"data":{"App\\Models\\Company":{"retrieved":4,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FCompany.php&line=1","ajax":false,"filename":"Company.php","line":"?"}},"App\\Models\\User":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}},"App\\Models\\Product":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FProduct.php&line=1","ajax":false,"filename":"Product.php","line":"?"}},"App\\Models\\ProductTaxRate":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FProductTaxRate.php&line=1","ajax":false,"filename":"ProductTaxRate.php","line":"?"}},"App\\Models\\SaleItem":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FSaleItem.php&line=1","ajax":false,"filename":"SaleItem.php","line":"?"}}},"count":8,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":{"retrieved":8}},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"request":{"data":{"status":"200 OK","full_url":"https:\/\/billing.gigmoz.com\/public\/api\/products\/1068\/sale-metrics?company_id=3&party_id=595","action_name":"products.get.sale.metrics","controller_action":"App\\Http\\Controllers\\ProductController@getSaleMetrics","uri":"GET api\/products\/{product}\/sale-metrics","controller":{"value":"App\\Http\\Controllers\\ProductController@getSaleMetrics","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=675","ajax":false,"filename":"ProductController.php","line":"675"}},"prefix":"api","file":{"value":"app\/Http\/Controllers\/ProductController.php:675-773","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=675","ajax":false,"filename":"ProductController.php","line":"675"}},"middleware":"api","duration":"224ms","peak_memory":"28MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-1070514220 data-indent-pad=\"  \"><span class=sf-dump-note>array:2<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>party_id<\/span>\" => \"<span class=sf-dump-str title=\"3 characters\">595<\/span>\"\n  \"<span class=sf-dump-key>company_id<\/span>\" => \"<span class=sf-dump-str>3<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1070514220\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-48549549 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-48549549\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1988873425 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>x-https<\/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>1<\/span>\"\n  <\/samp>]\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=\"713 characters\">XSRF-TOKEN=eyJpdiI6IjRZVy9zWEk1TzF5ak5zWSsySkJ2S1E9PSIsInZhbHVlIjoicjZvTUdtdS9WUGNOYVc2NW5UMnovSnVhVHJ0NXRlazBSbDZBY3lJdm9HYlJEL2pjYk42VnBwSjlCOFZsQWpLSWVTMndtczJHYVF2c3ZVWTA1MFVhanFWUVJ5dUZzditlb2IzdUYwaFFCZDAvT1prRURPVEk5dTBBSGVkWml4bWoiLCJtYWMiOiIyMWU0ZjMzODhmYjI2ODYyYjhiZjljZjk5ZjM2MDk1NjZkMjViMGZhZDUzZmNmOTc2OTIyZWQwYTlkNzY3MWU0IiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6Ik83RTFQVUJuRktXWlU2YUs0Vm10cFE9PSIsInZhbHVlIjoiYmMvNzFYdW5idFNBdTZpSU15bTVCNVVCUlVmaEprV3c0RFpwbXczVWpobjZoazQ3SFRLVlY2NzdJRk5DLzh5TVp5VzZOZ2h5eU8yVjhKUkZ4MTU0TnJvRnVFdWRRSXc5YTlpa0lkZHhSeFN2dUdKTXArK2dFenpybTdTZ1BGWVYiLCJtYWMiOiI5MzkxNTBjZWE2MjBlNTVkNWI3NzUwZjM2YTlhNTY1M2NlYWJhZmY2ZDY0MTVmYzQ2MTNlMjQ0YzVkNGI1MGFjIiwidGFnIjoiIn0%3D<\/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=\"14 characters\">en-US,en;q=0.9<\/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=\"49 characters\">https:\/\/billing.gigmoz.com\/public\/c\/3\/sale\/create<\/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=\"3 characters\">*\/*<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-mobile<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">?0<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>dnt<\/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>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=\"64 characters\">&quot;Not;A=Brand&quot;;v=&quot;8&quot;, &quot;Chromium&quot;;v=&quot;150&quot;, &quot;Google Chrome&quot;;v=&quot;150&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"111 characters\">Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/150.0.0.0 Safari\/537.36<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-platform<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"9 characters\">&quot;Windows&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>connection<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"10 characters\">keep-alive<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>host<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"18 characters\">billing.gigmoz.com<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1988873425\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-506879506 data-indent-pad=\"  \"><span class=sf-dump-note>array:2<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>XSRF-TOKEN<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">38WNB9kHRN8PAdApdR3wCMHvRlGLPFFSJAWs1G6s<\/span>\"\n  \"<span class=sf-dump-key>laravel-session<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">a5iKGQmFIbva9loLf3a82DLiqmc4CITa4qi4R3Xb<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-506879506\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-908906132 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\">Sat, 01 Aug 2026 09:07:40 GMT<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>set-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=\"451 characters\">laravel-session=eyJpdiI6IjN4SUZpUHQ0OWRqM0xoTkNBQ1gzVHc9PSIsInZhbHVlIjoiMVVZcmFvcGJxWEd0MWczd0JPOGthU2swM3B6aWpNaEtqaTE4QURua216RjZ0VWltUVc0MlRuVUhHQ2JTYk5SckVYUHN6MjlWRVd4NXk4aDhDOUN1ZUhHR0phMVlzUDlvSUZ4b3lJTVErZFEzaURLQWZaUWpGeC9yZkZDYlpLRlQiLCJtYWMiOiI2Njg2M2UxMGUzNTViYmM3OGQ2M2VhMTM1NWY0Yzc3YTIyNTYxZmIwNjQ5MGY2OWQxMjU5ZmZhMjNmNDE5NWY2IiwidGFnIjoiIn0%3D; expires=Sat, 01 Aug 2026 11:07:40 GMT; Max-Age=7200; path=\/; secure; httponly; samesite=lax<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>Set-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=\"423 characters\">laravel-session=eyJpdiI6IjN4SUZpUHQ0OWRqM0xoTkNBQ1gzVHc9PSIsInZhbHVlIjoiMVVZcmFvcGJxWEd0MWczd0JPOGthU2swM3B6aWpNaEtqaTE4QURua216RjZ0VWltUVc0MlRuVUhHQ2JTYk5SckVYUHN6MjlWRVd4NXk4aDhDOUN1ZUhHR0phMVlzUDlvSUZ4b3lJTVErZFEzaURLQWZaUWpGeC9yZkZDYlpLRlQiLCJtYWMiOiI2Njg2M2UxMGUzNTViYmM3OGQ2M2VhMTM1NWY0Yzc3YTIyNTYxZmIwNjQ5MGY2OWQxMjU5ZmZhMjNmNDE5NWY2IiwidGFnIjoiIn0%3D; expires=Sat, 01-Aug-2026 11:07:40 GMT; path=\/; secure; httponly<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-908906132\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-2055162688 data-indent-pad=\"  \"><span class=sf-dump-note>array:7<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>_token<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">38WNB9kHRN8PAdApdR3wCMHvRlGLPFFSJAWs1G6s<\/span>\"\n  \"<span class=sf-dump-key>_flash<\/span>\" => <span class=sf-dump-note>array:2<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>old<\/span>\" => []\n    \"<span class=sf-dump-key>new<\/span>\" => []\n  <\/samp>]\n  \"<span class=sf-dump-key>_previous<\/span>\" => <span class=sf-dump-note>array:2<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>url<\/span>\" => \"<span class=sf-dump-str title=\"90 characters\">https:\/\/billing.gigmoz.com\/public\/api\/products\/1068\/sale-metrics?company_id=3&amp;party_id=595<\/span>\"\n    \"<span class=sf-dump-key>route<\/span>\" => \"<span class=sf-dump-str title=\"25 characters\">products.get.sale.metrics<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d<\/span>\" => <span class=sf-dump-num>1<\/span>\n  \"<span class=sf-dump-key>company_id<\/span>\" => <span class=sf-dump-num>3<\/span>\n  \"<span class=sf-dump-key>cashmode<\/span>\" => <span class=sf-dump-note>array:4<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>enabled<\/span>\" => <span class=sf-dump-const>true<\/span>\n    \"<span class=sf-dump-key>enabled_at<\/span>\" => \"<span class=sf-dump-str title=\"27 characters\">2026-08-01T08:55:12.235108Z<\/span>\"\n    \"<span class=sf-dump-key>by<\/span>\" => <span class=sf-dump-num>1<\/span>\n    \"<span class=sf-dump-key>token<\/span>\" => \"<span class=sf-dump-str title=\"20 characters\">1lwIDn5Yyh7iUmr0Y4SM<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>PHPDEBUGBAR_STACK_DATA<\/span>\" => []\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-2055162688\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"https:\/\/billing.gigmoz.com\/public\/api\/products\/1068\/sale-metrics?company_id=3&party_id=595","action_name":"products.get.sale.metrics","controller_action":"App\\Http\\Controllers\\ProductController@getSaleMetrics"},"badge":null}}