{"__meta":{"id":"01M6JVFH926ZXCJJMTT35RA4A3","datetime":"2026-11-04 14:10:46","utime":1793781646.626905918121337890625,"method":"GET","uri":"\/public\/api\/products\/290\/sale-metrics?party_id=405&company_id=1","ip":"106.219.135.183"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1793781646.3522140979766845703125,"end":1793781646.6269400119781494140625,"duration":0.27472591400146484375,"duration_str":"275ms","measures":[{"label":"Booting","start":1793781646.3522140979766845703125,"relative_start":0,"end":1793781646.51618289947509765625,"relative_end":1793781646.51618289947509765625,"duration":0.1639688014984130859375,"duration_str":"164ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1793781646.5161941051483154296875,"relative_start":0.163980007171630859375,"end":1793781646.6269419193267822265625,"relative_end":1.9073486328125e-6,"duration":0.110747814178466796875,"duration_str":"111ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1793781646.5315940380096435546875,"relative_start":0.179379940032958984375,"end":1793781646.5333960056304931640625,"relative_end":1793781646.5333960056304931640625,"duration":0.001801967620849609375,"duration_str":"1.8ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1793781646.6213390827178955078125,"relative_start":0.2691249847412109375,"end":1793781646.62156200408935546875,"relative_end":1793781646.62156200408935546875,"duration":0.0002229213714599609375,"duration_str":"223\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1793781646.6250979900360107421875,"relative_start":0.272883892059326171875,"end":1793781646.6251571178436279296875,"relative_end":1793781646.6251571178436279296875,"duration":5.91278076171875e-5,"duration_str":"59\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":28590104,"peak_usage_str":"27MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.55.1","PHP Version":"8.4.27","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.035650000000000008071321389024888048879802227020263671875,"accumulated_duration_str":"35.65ms","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":1793781646.5442340373992919921875,"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` = 'iu2ETVuobV9WJQ4QC4Oc5clzWwT7WIS11dJpSins' limit 1","type":"query","params":[],"bindings":["iu2ETVuobV9WJQ4QC4Oc5clzWwT7WIS11dJpSins"],"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":1793781646.551704883575439453125,"duration":0.025360000000000000597299987248334218747913837432861328125,"duration_str":"25.36ms","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":71.135999999999995679900166578590869903564453125},{"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":1793781646.59078311920166015625,"duration":0.000640000000000000052353954504980038109351880848407745361328125,"duration_str":"640\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":71.135999999999995679900166578590869903564453125,"width_percent":1.7949999999999999289457264239899814128875732421875},{"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":1793781646.593822956085205078125,"duration":0.000589999999999999921208859721133421771810390055179595947265625,"duration_str":"590\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":72.9309999999999973852027324028313159942626953125,"width_percent":1.6550000000000000266453525910037569701671600341796875},{"sql":"select * from `products` where `products`.`id` = '290' limit 1","type":"query","params":[],"bindings":["290"],"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":678},{"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":1793781646.597916126251220703125,"duration":0.0004799999999999999579503029423221960314549505710601806640625,"duration_str":"480\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:678","source":{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":678},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=678","ajax":false,"filename":"ProductController.php","line":"678"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":74.5859999999999985220711096189916133880615234375,"width_percent":1.346000000000000085265128291212022304534912109375},{"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":683},{"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":1793781646.59891605377197265625,"duration":0.0003899999999999999929396754527743951257434673607349395751953125,"duration_str":"390\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:683","source":{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":683},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=683","ajax":false,"filename":"ProductController.php","line":"683"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":75.9330000000000069348971010185778141021728515625,"width_percent":1.0940000000000000834887714518117718398571014404296875},{"sql":"select * from `product_tax_rates` where `product_tax_rates`.`product_id` = 290 and `product_tax_rates`.`product_id` is not null and `starts_at` <= '2026-11-04 14:10:46' order by `starts_at` asc, `starts_at` desc limit 1","type":"query","params":[],"bindings":[290,"2026-11-04 14:10:46"],"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":45},{"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":686},{"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":1793781646.601867198944091796875,"duration":0.000640000000000000052353954504980038109351880848407745361328125,"duration_str":"640\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"Product.php:45","source":{"index":19,"namespace":null,"name":"app\/Models\/Product.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/Product.php","line":45},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FProduct.php&line=45","ajax":false,"filename":"Product.php","line":"45"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":77.0270000000000010231815394945442676544189453125,"width_percent":1.7949999999999999289457264239899814128875732421875},{"sql":"select product_id, COALESCE(SUM(qty_pcs), 0) as qty from `product_opening_stocks` where `company_id` = 1 and `product_id` in (290) group by `product_id`","type":"query","params":[],"bindings":[1,290],"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":695},{"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":1793781646.6054351329803466796875,"duration":0.0009899999999999999945876627549523618654347956180572509765625,"duration_str":"990\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":78.8220000000000027284841053187847137451171875,"width_percent":2.77700000000000013500311979441903531551361083984375},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `purchase_items` where `company_id` = 1 and `product_id` in (290) group by `product_id`","type":"query","params":[],"bindings":[1,290],"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":695},{"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":1793781646.6074430942535400390625,"duration":0.000529999999999999980675180477618368968251161277294158935546875,"duration_str":"530\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":81.5990000000000037516656448133289813995361328125,"width_percent":1.4870000000000000994759830064140260219573974609375},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `sale_items` where `company_id` = 1 and `product_id` in (290) group by `product_id`","type":"query","params":[],"bindings":[1,290],"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":695},{"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":1793781646.6087830066680908203125,"duration":0.000630000000000000026124935548210714841843582689762115478515625,"duration_str":"630\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":83.0859999999999985220711096189916133880615234375,"width_percent":1.766999999999999904076730672386474907398223876953125},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `sale_return_items` where `company_id` = 1 and `product_id` in (290) group by `product_id`","type":"query","params":[],"bindings":[1,290],"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":695},{"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":1793781646.610310077667236328125,"duration":0.000489999999999999984179321899091519298963248729705810546875,"duration_str":"490\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":84.8529999999999944293449516408145427703857421875,"width_percent":1.374000000000000110134124042815528810024261474609375},{"sql":"select product_id, COALESCE(SUM(qty), 0) as qty from `purchase_return_items` where `company_id` = 1 and `product_id` in (290) group by `product_id`","type":"query","params":[],"bindings":[1,290],"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":695},{"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":1793781646.6116139888763427734375,"duration":0.000489999999999999984179321899091519298963248729705810546875,"duration_str":"490\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":86.227000000000003865352482534945011138916015625,"width_percent":1.374000000000000110134124042815528810024261474609375},{"sql":"select `sale_items`.`rate`, `sale_items`.`tax_percent`, `sales`.`invoice_date` from `sale_items` inner join `sales` on `sales`.`id` = `sale_items`.`sale_id` where `sale_items`.`product_id` = '290' and `sales`.`party_id` = '405' order by `sales`.`invoice_date` desc, `sale_items`.`id` desc limit 1","type":"query","params":[],"bindings":["290","405"],"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":709},{"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":1793781646.6130039691925048828125,"duration":0.000609999999999999973666897634672068306826986372470855712890625,"duration_str":"610\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:709","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":709},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=709","ajax":false,"filename":"ProductController.php","line":"709"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":87.602000000000003865352482534945011138916015625,"width_percent":1.7110000000000000763833440942107699811458587646484375},{"sql":"select `c`.`name` as `party`, `si`.`rate`, `si`.`tax_percent`, `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` = '290' and `s`.`party_id` != '405' order by `s`.`invoice_date` desc, `si`.`id` desc limit 5","type":"query","params":[],"bindings":["290","405"],"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":751},{"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":1793781646.6141989231109619140625,"duration":0.00076000000000000004184153024056058711721561849117279052734375,"duration_str":"760\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:751","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":751},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=751","ajax":false,"filename":"ProductController.php","line":"751"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":89.3130000000000023874235921539366245269775390625,"width_percent":2.132000000000000117239551400416530668735504150390625},{"sql":"select * from `product_price_lists` where `product_id` = '290' order by `rate` asc, `effective_from` desc limit 1","type":"query","params":[],"bindings":["290"],"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":763},{"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":1793781646.6158950328826904296875,"duration":0.000449999999999999987683463320564669629675336182117462158203125,"duration_str":"450\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:763","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":763},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=763","ajax":false,"filename":"ProductController.php","line":"763"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":91.44499999999999317878973670303821563720703125,"width_percent":1.262000000000000010658141036401502788066864013671875},{"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` = '290' order by `p`.`invoice_date` desc, `pi`.`id` desc limit 5","type":"query","params":[],"bindings":["290"],"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":781},{"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":1793781646.6169030666351318359375,"duration":0.000619999999999999999895916591441391574335284531116485595703125,"duration_str":"620\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ProductController.php:781","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/ProductController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/ProductController.php","line":781},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=781","ajax":false,"filename":"ProductController.php","line":"781"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":92.7069999999999936335370875895023345947265625,"width_percent":1.7390000000000001012523398458142764866352081298828125},{"sql":"update `sessions` set `payload` = 'YTo3OntzOjY6Il90b2tlbiI7czo0MDoiQnNRcmJhZlZqaGZ0MlVxcHdhUFN5S1ZhTWZVRGw5cU5KR3VUbDVhZiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6ODk6Imh0dHBzOi8vYmlsbGluZy5naWdtb3ouY29tL3B1YmxpYy9hcGkvcHJvZHVjdHMvMjkwL3NhbGUtbWV0cmljcz9jb21wYW55X2lkPTEmcGFydHlfaWQ9NDA1IjtzOjU6InJvdXRlIjtzOjI1OiJwcm9kdWN0cy5nZXQuc2FsZS5tZXRyaWNzIjt9czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo1MjoiaHR0cHM6Ly9iaWxsaW5nLmdpZ21vei5jb20vcHVibGljL2MvMS9zYWxlLzEyMjQvZWRpdCI7fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjE7czoxMDoiY29tcGFueV9pZCI7aToxO3M6MjI6IlBIUERFQlVHQkFSX1NUQUNLX0RBVEEiO2E6MDp7fX0=', `last_activity` = 1793781646, `user_id` = 1, `ip_address` = '106.219.135.183', `user_agent` = 'Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/156.0.0.0 Safari\/537.36' where `id` = 'iu2ETVuobV9WJQ4QC4Oc5clzWwT7WIS11dJpSins'","type":"query","params":[],"bindings":["YTo3OntzOjY6Il90b2tlbiI7czo0MDoiQnNRcmJhZlZqaGZ0MlVxcHdhUFN5S1ZhTWZVRGw5cU5KR3VUbDVhZiI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6ODk6Imh0dHBzOi8vYmlsbGluZy5naWdtb3ouY29tL3B1YmxpYy9hcGkvcHJvZHVjdHMvMjkwL3NhbGUtbWV0cmljcz9jb21wYW55X2lkPTEmcGFydHlfaWQ9NDA1IjtzOjU6InJvdXRlIjtzOjI1OiJwcm9kdWN0cy5nZXQuc2FsZS5tZXRyaWNzIjt9czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo1MjoiaHR0cHM6Ly9iaWxsaW5nLmdpZ21vei5jb20vcHVibGljL2MvMS9zYWxlLzEyMjQvZWRpdCI7fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjE7czoxMDoiY29tcGFueV9pZCI7aToxO3M6MjI6IlBIUERFQlVHQkFSX1NUQUNLX0RBVEEiO2E6MDp7fX0=",1793781646,1,"106.219.135.183","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/156.0.0.0 Safari\/537.36","iu2ETVuobV9WJQ4QC4Oc5clzWwT7WIS11dJpSins"],"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":1793781646.6225898265838623046875,"duration":0.001979999999999999989175325509904723730869591236114501953125,"duration_str":"1.98ms","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":94.445999999999997953636921010911464691162109375,"width_percent":5.5540000000000002700062395888380706310272216796875}]},"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\/290\/sale-metrics?company_id=1&party_id=405","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=676","ajax":false,"filename":"ProductController.php","line":"676"}},"prefix":"api","file":{"value":"app\/Http\/Controllers\/ProductController.php:676-797","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FProductController.php&line=676","ajax":false,"filename":"ProductController.php","line":"676"}},"middleware":"api","duration":"277ms","peak_memory":"28MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-2093076591 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\">405<\/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-2093076591\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1130542337 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1130542337\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-115980245 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=eyJpdiI6IjhOWHhSVTlsYTFmQzdWU3FPdDg3UUE9PSIsInZhbHVlIjoiUTNCUXB3Z29hQVVlbWxKckJrQTdhYnh0ZGpWS1FxY2Z4b0wzOFdlSUVXaDdsWEdQZ3ljQzFJNEorTS9pUW1CMTY1Njd6dmlkb2tDRnRiNWswK0FBd0hiUVFoSm9FZUxIeTJYSWdxQ0xWNEc5QUtlRnF4eUxMZkpJQm9XYzRBczUiLCJtYWMiOiJlZDdkOGUxZmM4YTZiYzJmNDM4Nzg2NGU4NjVlZDQ1YTBlYjgxZGI3ZTQ5ODMxYWViMzFjOThiMjljYWIwMzFjIiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6IjIvbVM0Lzh3RVBEUW8wVDRyYTJUN1E9PSIsInZhbHVlIjoiczh3QXhEc0xZL1h3VHlCZDMxL3VEY1NuaUJLYllUc3ZzVjlIemhmaDdjeTMyeFI2alZJNTU1NGU5YUVIR1h3eFpFT2Q0MzIySHlockN0eWFuVmgvdXd5YThjdDM3bnhxcUhUZWNzdkN1Vk9yZnM2akpLS1F2Ymg4MkErNFRhWUciLCJtYWMiOiJlODE4ZDkyODEzMjg0NzVmYjg0NjMxZGIzNDNlMjk0OTY2YmM2NTAwOTM1OTE4MWRkYTRlMWI3MDIyMWQ3ODhlIiwidGFnIjoiIn0%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=\"52 characters\">https:\/\/billing.gigmoz.com\/public\/c\/1\/sale\/1224\/edit<\/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;156&quot;, &quot;Google Chrome&quot;;v=&quot;156&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\/156.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-115980245\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-255773172 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\">BsQrbafVjhft2UqpwaPSyKVaMfUDl9qNJGuTl5af<\/span>\"\n  \"<span class=sf-dump-key>laravel-session<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">iu2ETVuobV9WJQ4QC4Oc5clzWwT7WIS11dJpSins<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-255773172\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-260617632 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\">Wed, 04 Nov 2026 08:40:46 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=eyJpdiI6InFHUmN2ck1KT0RWTmIwZHV4cFRCbEE9PSIsInZhbHVlIjoiellKemJVRWFyVEVKK2IxSW8vdmVTckFZM3F6cXhZUnBnaWFydFZGcGhWOVhmZG1tcG9mUnNOS1lFNUN5S2Y4RUhNYmRjR2tCbWJvTDRpaUlOVDREYjNuTE9zZDRlSkZGWE0wK1BYMkQ4eHJ0VnlyOGxydkZqSDR1aU1NWUk1dE8iLCJtYWMiOiI5OTUwMWZlYWExZDhiMDMyMWFlYzhlM2E0MzA0OTJiMzY5ZDNjMDQyNTE2YzkxZWI5ZmM0NzczZjFhNjYyZDIyIiwidGFnIjoiIn0%3D; expires=Wed, 04 Nov 2026 10:40:46 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=eyJpdiI6InFHUmN2ck1KT0RWTmIwZHV4cFRCbEE9PSIsInZhbHVlIjoiellKemJVRWFyVEVKK2IxSW8vdmVTckFZM3F6cXhZUnBnaWFydFZGcGhWOVhmZG1tcG9mUnNOS1lFNUN5S2Y4RUhNYmRjR2tCbWJvTDRpaUlOVDREYjNuTE9zZDRlSkZGWE0wK1BYMkQ4eHJ0VnlyOGxydkZqSDR1aU1NWUk1dE8iLCJtYWMiOiI5OTUwMWZlYWExZDhiMDMyMWFlYzhlM2E0MzA0OTJiMzY5ZDNjMDQyNTE2YzkxZWI5ZmM0NzczZjFhNjYyZDIyIiwidGFnIjoiIn0%3D; expires=Wed, 04-Nov-2026 10:40:46 GMT; path=\/; secure; httponly<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-260617632\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1160969901 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\">BsQrbafVjhft2UqpwaPSyKVaMfUDl9qNJGuTl5af<\/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\/290\/sale-metrics?company_id=1&amp;party_id=405<\/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>url<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>intended<\/span>\" => \"<span class=sf-dump-str title=\"52 characters\">https:\/\/billing.gigmoz.com\/public\/c\/1\/sale\/1224\/edit<\/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>PHPDEBUGBAR_STACK_DATA<\/span>\" => []\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1160969901\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"https:\/\/billing.gigmoz.com\/public\/api\/products\/290\/sale-metrics?company_id=1&party_id=405","action_name":"products.get.sale.metrics","controller_action":"App\\Http\\Controllers\\ProductController@getSaleMetrics"},"badge":null}}