{"__meta":{"id":"01KYW6D9R4YP3YF24N8BXATY6N","datetime":"2026-07-31 19:09:23","utime":1785505163.0127699375152587890625,"method":"GET","uri":"\/public\/api\/products\/1107\/sale-metrics?party_id=24&company_id=1","ip":"122.169.49.48"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1785505162.7672519683837890625,"end":1785505163.0127849578857421875,"duration":0.245532989501953125,"duration_str":"246ms","measures":[{"label":"Booting","start":1785505162.7672519683837890625,"relative_start":0,"end":1785505162.9369900226593017578125,"relative_end":1785505162.9369900226593017578125,"duration":0.1697380542755126953125,"duration_str":"170ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1785505162.9370129108428955078125,"relative_start":0.1697609424591064453125,"end":1785505163.0127871036529541015625,"relative_end":2.1457672119140625e-6,"duration":0.07577419281005859375,"duration_str":"75.77ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1785505162.94616794586181640625,"relative_start":0.17891597747802734375,"end":1785505162.9482629299163818359375,"relative_end":1785505162.9482629299163818359375,"duration":0.0020949840545654296875,"duration_str":"2.09ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1785505163.0078089237213134765625,"relative_start":0.2405569553375244140625,"end":1785505163.0080718994140625,"relative_end":1785505163.0080718994140625,"duration":0.0002629756927490234375,"duration_str":"263\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1785505163.0109050273895263671875,"relative_start":0.2436530590057373046875,"end":1785505163.01095294952392578125,"relative_end":1785505163.01095294952392578125,"duration":4.79221343994140625e-5,"duration_str":"48\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":28546832,"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.01208999999999999831745700618057526298798620700836181640625,"accumulated_duration_str":"12.09ms","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":1785505162.9593269824981689453125,"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` = 'cEtotRX7FYJQpV7DldGBsbiALiDqfLR4zymKQXPi' limit 1","type":"query","params":[],"bindings":["cEtotRX7FYJQpV7DldGBsbiALiDqfLR4zymKQXPi"],"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":1785505162.96617603302001953125,"duration":0.003170000000000000074662498406041777343489229679107666015625,"duration_str":"3.17ms","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":26.219999999999998863131622783839702606201171875},{"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":1785505162.9786798954010009765625,"duration":0.00076000000000000004184153024056058711721561849117279052734375,"duration_str":"760\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":26.219999999999998863131622783839702606201171875,"width_percent":6.2859999999999995878852132591418921947479248046875},{"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":1785505162.9814660549163818359375,"duration":0.000619999999999999999895916591441391574335284531116485595703125,"duration_str":"620\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":32.506000000000000227373675443232059478759765625,"width_percent":5.1280000000000001136868377216160297393798828125},{"sql":"select * from `products` where `products`.`id` = '1107' limit 1","type":"query","params":[],"bindings":["1107"],"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":1785505162.985743045806884765625,"duration":0.0005000000000000000104083408558608425664715468883514404296875,"duration_str":"500\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":37.6340000000000003410605131648480892181396484375,"width_percent":4.13600000000000012079226507921703159809112548828125},{"sql":"select * from `companies` where `companies`.`id` = 1 limit 1","type":"query","params":[],"bindings":[1],"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":1785505162.9867179393768310546875,"duration":0.000369999999999999994691746163510970291099511086940765380859375,"duration_str":"370\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":41.77000000000000312638803734444081783294677734375,"width_percent":3.060000000000000053290705182007513940334320068359375},{"sql":"select * from `product_tax_rates` where `product_tax_rates`.`product_id` = 1107 and `product_tax_rates`.`product_id` is not null and `starts_at` <= '2026-07-31 19:09:22' order by `starts_at` asc, `starts_at` desc limit 1","type":"query","params":[],"bindings":[1107,"2026-07-31 19:09:22"],"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":1785505162.9896161556243896484375,"duration":0.000659999999999999996391775169968241243623197078704833984375,"duration_str":"660\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":44.8299999999999982946974341757595539093017578125,"width_percent":5.458999999999999630517777404747903347015380859375},{"sql":"select product_id, COALESCE(SUM(qty_pcs), 0) as qty from `product_opening_stocks` where `company_id` = 1 and `product_id` in (1107) group by `product_id`","type":"query","params":[],"bindings":[1,1107],"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":1785505162.99351596832275390625,"duration":0.0005200000000000000628663787693994891014881432056427001953125,"duration_str":"520\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":50.2890000000000014779288903810083866119384765625,"width_percent":4.3010000000000001563194018672220408916473388671875},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `purchase_items` where `company_id` = 1 and `product_id` in (1107) group by `product_id`","type":"query","params":[],"bindings":[1,1107],"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":1785505162.994873046875,"duration":0.0004699999999999999859313926098280944643192924559116363525390625,"duration_str":"470\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":54.59100000000000108002495835535228252410888671875,"width_percent":3.8879999999999999005240169935859739780426025390625},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `sale_items` where `company_id` = 1 and `product_id` in (1107) group by `product_id`","type":"query","params":[],"bindings":[1,1107],"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":1785505162.99619197845458984375,"duration":0.0004799999999999999579503029423221960314549505710601806640625,"duration_str":"480\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.47800000000000153477230924181640148162841796875,"width_percent":3.970000000000000195399252334027551114559173583984375},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `sale_return_items` where `company_id` = 1 and `product_id` in (1107) group by `product_id`","type":"query","params":[],"bindings":[1,1107],"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":1785505162.9974758625030517578125,"duration":0.0004199999999999999632065150745319215275230817496776580810546875,"duration_str":"420\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.44800000000000039790393202565610408782958984375,"width_percent":3.474000000000000198951966012828052043914794921875},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `purchase_return_items` where `company_id` = 1 and `product_id` in (1107) group by `product_id`","type":"query","params":[],"bindings":[1,1107],"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":1785505162.998694896697998046875,"duration":0.000359999999999999968462727206741647023591212928295135498046875,"duration_str":"360\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":65.921999999999997044142219237983226776123046875,"width_percent":2.978000000000000202504679691628552973270416259765625},{"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` = '1107' and `sales`.`party_id` = '24' order by `sales`.`invoice_date` desc, `sale_items`.`id` desc limit 1","type":"query","params":[],"bindings":["1107","24"],"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":1785505162.9998891353607177734375,"duration":0.000689999999999999966658614791725767645402811467647552490234375,"duration_str":"690\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":68.900000000000005684341886080801486968994140625,"width_percent":5.70699999999999985078602549037896096706390380859375},{"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` = '1107' and `s`.`party_id` != '24' order by `s`.`invoice_date` desc limit 5","type":"query","params":[],"bindings":["1107","24"],"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":1785505163.0010569095611572265625,"duration":0.000609999999999999973666897634672068306826986372470855712890625,"duration_str":"610\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":74.606999999999999317878973670303821563720703125,"width_percent":5.0449999999999999289457264239899814128875732421875},{"sql":"select * from `product_price_lists` where `product_id` = '1107' order by `rate` asc, `effective_from` desc limit 1","type":"query","params":[],"bindings":["1107"],"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":1785505163.0025999546051025390625,"duration":0.0004199999999999999632065150745319215275230817496776580810546875,"duration_str":"420\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":79.6530000000000057980287238024175167083740234375,"width_percent":3.474000000000000198951966012828052043914794921875},{"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` = '1107' order by `p`.`invoice_date` desc, `pi`.`id` desc limit 5","type":"query","params":[],"bindings":["1107"],"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":1785505163.00352001190185546875,"duration":0.0004799999999999999579503029423221960314549505710601806640625,"duration_str":"480\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":83.1269999999999953388396534137427806854248046875,"width_percent":3.970000000000000195399252334027551114559173583984375},{"sql":"update `sessions` set `payload` = 'YTo3OntzOjY6Il90b2tlbiI7czo0MDoiTHhsa0dKYzFsT2dpYkFaMzlha2JZUm1SVWdnbFJQRVpTS3liemR1QiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6ODk6Imh0dHBzOi8vYmlsbGluZy5naWdtb3ouY29tL3B1YmxpYy9hcGkvcHJvZHVjdHMvMTEwNy9zYWxlLW1ldHJpY3M\/Y29tcGFueV9pZD0xJnBhcnR5X2lkPTI0IjtzOjU6InJvdXRlIjtzOjI1OiJwcm9kdWN0cy5nZXQuc2FsZS5tZXRyaWNzIjt9czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MTtzOjEwOiJjb21wYW55X2lkIjtpOjE7czo4OiJjYXNobW9kZSI7YTo0OntzOjc6ImVuYWJsZWQiO2I6MTtzOjEwOiJlbmFibGVkX2F0IjtzOjI3OiIyMDI2LTA3LTMxVDEzOjAxOjQ0LjU3OTc2NFoiO3M6MjoiYnkiO2k6MTtzOjU6InRva2VuIjtzOjIwOiJaMlV4NjlxT29yWHFXRWRsa3ExbiI7fXM6MjI6IlBIUERFQlVHQkFSX1NUQUNLX0RBVEEiO2E6MDp7fX0=', `last_activity` = 1785505163, `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` = 'cEtotRX7FYJQpV7DldGBsbiALiDqfLR4zymKQXPi'","type":"query","params":[],"bindings":["YTo3OntzOjY6Il90b2tlbiI7czo0MDoiTHhsa0dKYzFsT2dpYkFaMzlha2JZUm1SVWdnbFJQRVpTS3liemR1QiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6ODk6Imh0dHBzOi8vYmlsbGluZy5naWdtb3ouY29tL3B1YmxpYy9hcGkvcHJvZHVjdHMvMTEwNy9zYWxlLW1ldHJpY3M\/Y29tcGFueV9pZD0xJnBhcnR5X2lkPTI0IjtzOjU6InJvdXRlIjtzOjI1OiJwcm9kdWN0cy5nZXQuc2FsZS5tZXRyaWNzIjt9czo1MDoibG9naW5fd2ViXzU5YmEzNmFkZGMyYjJmOTQwMTU4MGYwMTRjN2Y1OGVhNGUzMDk4OWQiO2k6MTtzOjEwOiJjb21wYW55X2lkIjtpOjE7czo4OiJjYXNobW9kZSI7YTo0OntzOjc6ImVuYWJsZWQiO2I6MTtzOjEwOiJlbmFibGVkX2F0IjtzOjI3OiIyMDI2LTA3LTMxVDEzOjAxOjQ0LjU3OTc2NFoiO3M6MjoiYnkiO2k6MTtzOjU6InRva2VuIjtzOjIwOiJaMlV4NjlxT29yWHFXRWRsa3ExbiI7fXM6MjI6IlBIUERFQlVHQkFSX1NUQUNLX0RBVEEiO2E6MDp7fX0=",1785505163,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","cEtotRX7FYJQpV7DldGBsbiALiDqfLR4zymKQXPi"],"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":1785505163.0089590549468994140625,"duration":0.00155999999999999997175870181109758050297386944293975830078125,"duration_str":"1.56ms","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":87.0969999999999942019712761975824832916259765625,"width_percent":12.9030000000000004689582056016661226749420166015625}]},"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":"?"}}},"count":7,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":{"retrieved":7}},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"request":{"data":{"status":"200 OK","full_url":"https:\/\/billing.gigmoz.com\/public\/api\/products\/1107\/sale-metrics?company_id=1&party_id=24","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":"247ms","peak_memory":"28MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-1700619224 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=\"2 characters\">24<\/span>\"\n  \"<span class=sf-dump-key>company_id<\/span>\" => \"<span class=sf-dump-str>1<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1700619224\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-953509793 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-953509793\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1926381503 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=eyJpdiI6IktJeno1L3RaWUNVU25QdjZYTGJQNmc9PSIsInZhbHVlIjoiNHEyMkFGMVExMHp4UVU2SDR3WGhpbDgrRWNNLytucjZweStnQlhIUzJLajhvYll3UFhnYnpYbW40MFdCdUY1VVdZcUkyeEhnaWtJTXNjR211eXlzSG9JTHU0TlcveTVRN3BCNEFuVFl0L2VmNHhCaXNZUEVCL2c4U2ZoZG8ydWIiLCJtYWMiOiIxYTQ0ZTIxOTBjNjc4ZGMwZWQwNTEzYWIxMDE5N2Q4ZjA1Y2IxNWUxYTE5MTZhMWI0NTAzOTliNWU3Njk5YzY4IiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6IjNKOU9oQUZZSnUrUXcwbXd4WWJtU1E9PSIsInZhbHVlIjoiU0VWb2dNZzlQQnlpbzlqczRjTkhpTFZncmtVSVlJZGk5VitINVRTV0YzaXp3dnJkSjdrb3E0RXBRWmR5RnIzbERaY1lNZTVpR1pkTktpSXh6NFlsbnpMTW5mY0VjcVRvbVVBRVNWdldXcWJ3b216VE9RODVIbm1pMnREL2gvT1giLCJtYWMiOiI4OGY2MjE3MTdmM2YyZTExOTc0NWU3MDQ4MGYwYjMyNjljMTIwN2Q4MTExZTIyZWVkMDEwZWE5NTEzZWU0Yjk0IiwidGFnIjoiIn0%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=\"62 characters\">https:\/\/billing.gigmoz.com\/public\/c\/1\/proforma-invoices\/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-1926381503\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1000742445 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\">LxlkGJc1lOgibAZ39akbYRmRUgglRPEZSKybzduB<\/span>\"\n  \"<span class=sf-dump-key>laravel-session<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">cEtotRX7FYJQpV7DldGBsbiALiDqfLR4zymKQXPi<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1000742445\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-819831369 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\">Fri, 31 Jul 2026 13:39:23 GMT<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>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=eyJpdiI6IksxVE5temRzRE1oeVRsM1ZBWjNwelE9PSIsInZhbHVlIjoiYWg4Z2JMM3FDWitBbnIzQ0hlTXNlMk5Nd2xsNTNNbUxudld4cTU2ekozWU1pYjFpYUxNZmlrRW1wT2tpUVJMZ0Nka0JsKytyK2xqREV0TktsYUhwYkFsaWY0THRwMkNBemNhRzFVeG9kM25ZcncvRjNjWXNQUTdLRkFmdWRaQ0giLCJtYWMiOiJlMjZhNzU1YzZhMjc2ZjFmMjUzMmE0YjkwZmJjNjgzMTNhMWJhY2QxY2Y4NzdkZTIxNzI4OGE4NGYxOGFhNWFjIiwidGFnIjoiIn0%3D; expires=Fri, 31 Jul 2026 15:39:23 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=eyJpdiI6IksxVE5temRzRE1oeVRsM1ZBWjNwelE9PSIsInZhbHVlIjoiYWg4Z2JMM3FDWitBbnIzQ0hlTXNlMk5Nd2xsNTNNbUxudld4cTU2ekozWU1pYjFpYUxNZmlrRW1wT2tpUVJMZ0Nka0JsKytyK2xqREV0TktsYUhwYkFsaWY0THRwMkNBemNhRzFVeG9kM25ZcncvRjNjWXNQUTdLRkFmdWRaQ0giLCJtYWMiOiJlMjZhNzU1YzZhMjc2ZjFmMjUzMmE0YjkwZmJjNjgzMTNhMWJhY2QxY2Y4NzdkZTIxNzI4OGE4NGYxOGFhNWFjIiwidGFnIjoiIn0%3D; expires=Fri, 31-Jul-2026 15:39:23 GMT; path=\/; secure; httponly<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-819831369\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1133029529 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\">LxlkGJc1lOgibAZ39akbYRmRUgglRPEZSKybzduB<\/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=\"89 characters\">https:\/\/billing.gigmoz.com\/public\/api\/products\/1107\/sale-metrics?company_id=1&amp;party_id=24<\/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>1<\/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-07-31T13:01:44.579764Z<\/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\">Z2Ux69qOorXqWEdlkq1n<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>PHPDEBUGBAR_STACK_DATA<\/span>\" => []\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1133029529\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"https:\/\/billing.gigmoz.com\/public\/api\/products\/1107\/sale-metrics?company_id=1&party_id=24","action_name":"products.get.sale.metrics","controller_action":"App\\Http\\Controllers\\ProductController@getSaleMetrics"},"badge":null}}