{"__meta":{"id":"01KXQEWV1E52VTVZ5KVA5JJX6G","datetime":"2026-07-17 12:15:46","utime":1784272546.863404,"method":"POST","uri":"\/api\/desktop\/sync\/pull\/products","ip":"127.0.0.1"},"messages":{"count":0,"messages":[]},"time":{"count":4,"start":1784272546.172386,"end":1784272546.863421,"duration":0.6910350322723389,"duration_str":"691ms","measures":[{"label":"Booting","start":1784272546.172386,"relative_start":0,"end":1784272546.525126,"relative_end":1784272546.525126,"duration":0.3527400493621826,"duration_str":"353ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1784272546.525142,"relative_start":0.3527560234069824,"end":1784272546.863423,"relative_end":2.1457672119140625e-6,"duration":0.33828115463256836,"duration_str":"338ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1784272546.571711,"relative_start":0.3993251323699951,"end":1784272546.579906,"relative_end":1784272546.579906,"duration":0.008194923400878906,"duration_str":"8.19ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1784272546.860136,"relative_start":0.6877501010894775,"end":1784272546.86064,"relative_end":1784272546.86064,"duration":0.0005040168762207031,"duration_str":"504\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":31746248,"peak_usage_str":"30MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.24.0","PHP Version":"8.3.30","Environment":"local","Debug Mode":"Enabled","URL":"localhost","Timezone":"Asia\/Karachi","Locale":"en"}},"views":{"count":0,"nb_templates":0,"templates":[]},"queries":{"count":11,"nb_statements":10,"nb_visible_statements":11,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.04383,"accumulated_duration_str":"43.83ms","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\/Cache\/CacheManager.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Cache\\CacheManager.php","line":245},{"index":8,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/CacheManager.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Cache\\CacheManager.php","line":131},{"index":9,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/CacheManager.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Cache\\CacheManager.php","line":111},{"index":10,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/CacheManager.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Cache\\CacheManager.php","line":60},{"index":11,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\spatie\\laravel-permission\\src\\PermissionRegistrar.php","line":88}],"start":1784272546.566295,"duration":0,"duration_str":"","memory":0,"memory_str":null,"filename":"CacheManager.php:245","source":{"index":7,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/CacheManager.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Cache\\CacheManager.php","line":245},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FCache%2FCacheManager.php&line=245","ajax":false,"filename":"CacheManager.php","line":"245"},"connection":"habib_cables","explain":null,"start_percent":0,"width_percent":0},{"sql":"select * from `sessions` where `id` = '8ZztO2k3yVymgvI3ijY0wZFl1xGQteO0nFlfAOew' limit 1","type":"query","params":[],"bindings":["8ZztO2k3yVymgvI3ijY0wZFl1xGQteO0nFlfAOew"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\DatabaseSessionHandler.php","line":96},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php","line":116},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php","line":104},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Store.php","line":88},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php","line":146}],"start":1784272546.600996,"duration":0.00444,"duration_str":"4.44ms","memory":0,"memory_str":null,"filename":"DatabaseSessionHandler.php:96","source":{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\DatabaseSessionHandler.php","line":96},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FSession%2FDatabaseSessionHandler.php&line=96","ajax":false,"filename":"DatabaseSessionHandler.php","line":"96"},"connection":"habib_cables","explain":null,"start_percent":0,"width_percent":10.13},{"sql":"select * from `personal_access_tokens` where `personal_access_tokens`.`id` = '41' limit 1","type":"query","params":[],"bindings":["41"],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\PersonalAccessToken.php","line":66},{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\Guard.php","line":66},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\GuardHelpers.php","line":56},{"index":25,"namespace":"middleware","name":"auth","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\Middleware\\Authenticate.php","line":82},{"index":26,"namespace":"middleware","name":"auth","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\Middleware\\Authenticate.php","line":61}],"start":1784272546.6297219,"duration":0.00213,"duration_str":"2.13ms","memory":0,"memory_str":null,"filename":"PersonalAccessToken.php:66","source":{"index":20,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/PersonalAccessToken.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\PersonalAccessToken.php","line":66},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FPersonalAccessToken.php&line=66","ajax":false,"filename":"PersonalAccessToken.php","line":"66"},"connection":"habib_cables","explain":null,"start_percent":10.13,"width_percent":4.86},{"sql":"select * from `users` where `users`.`id` = 32 limit 1","type":"query","params":[],"bindings":[32],"hints":null,"show_copy":true,"backtrace":[{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\Guard.php","line":151},{"index":22,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\Guard.php","line":68},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\GuardHelpers.php","line":56},{"index":26,"namespace":"middleware","name":"auth","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\Middleware\\Authenticate.php","line":82},{"index":27,"namespace":"middleware","name":"auth","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\Middleware\\Authenticate.php","line":61}],"start":1784272546.645862,"duration":0.00176,"duration_str":"1.76ms","memory":0,"memory_str":null,"filename":"Guard.php:151","source":{"index":21,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\Guard.php","line":151},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FGuard.php&line=151","ajax":false,"filename":"Guard.php","line":"151"},"connection":"habib_cables","explain":null,"start_percent":14.99,"width_percent":4.016},{"sql":"update `personal_access_tokens` set `last_used_at` = '2026-07-17 12:15:46', `personal_access_tokens`.`updated_at` = '2026-07-17 12:15:46' where `id` = 41","type":"query","params":[],"bindings":["2026-07-17 12:15:46","2026-07-17 12:15:46",41],"hints":null,"show_copy":true,"backtrace":[{"index":14,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\Guard.php","line":188},{"index":15,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\Guard.php","line":79},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\GuardHelpers.php","line":56},{"index":19,"namespace":"middleware","name":"auth","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\Middleware\\Authenticate.php","line":82},{"index":20,"namespace":"middleware","name":"auth","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\Middleware\\Authenticate.php","line":61}],"start":1784272546.650444,"duration":0.00357,"duration_str":"3.57ms","memory":0,"memory_str":null,"filename":"Guard.php:188","source":{"index":14,"namespace":null,"name":"vendor\/laravel\/sanctum\/src\/Guard.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\sanctum\\src\\Guard.php","line":188},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FGuard.php&line=188","ajax":false,"filename":"Guard.php","line":"188"},"connection":"habib_cables","explain":null,"start_percent":19.005,"width_percent":8.145},{"sql":"select count(*) as aggregate from `accounts` where `id` = 61","type":"query","params":[],"bindings":[61],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Validation\/DatabasePresenceVerifier.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\DatabasePresenceVerifier.php","line":53},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Validation\/Concerns\/ValidatesAttributes.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Concerns\\ValidatesAttributes.php","line":1016},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Validation\/Concerns\/ValidatesAttributes.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Concerns\\ValidatesAttributes.php","line":987},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Validation\/Validator.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php","line":685},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Validation\/Validator.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\Validator.php","line":480}],"start":1784272546.6803188,"duration":0.00166,"duration_str":"1.66ms","memory":0,"memory_str":null,"filename":"DatabasePresenceVerifier.php:53","source":{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Validation\/DatabasePresenceVerifier.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Validation\\DatabasePresenceVerifier.php","line":53},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FValidation%2FDatabasePresenceVerifier.php&line=53","ajax":false,"filename":"DatabasePresenceVerifier.php","line":"53"},"connection":"habib_cables","explain":null,"start_percent":27.15,"width_percent":3.787},{"sql":"select distinct shop_products.id as id, `shop_products`.`account_id`, `shop_products`.`local_id`, `shop_products`.`shop_id`, `shop_products`.`name`, `shop_products`.`shop_product_sku`, `shop_products`.`shop_product_barcode`, `shop_products`.`is_active`, `shop_products`.`created_at`, `shop_products`.`updated_at` from `shop_products` left join `shop_product_prices` as `spp` on `spp`.`shop_product_id` = `shop_products`.`id` and (`spp`.`shop_id` = 61 or (`spp`.`shop_id` is null and not exists (select 1 from `shop_product_prices` as `spp2` where `spp2`.`shop_product_id` = `shop_products`.`id` and `spp2`.`shop_id` = 61))) where (`shop_products`.`shop_id` is null or `shop_products`.`shop_id` = 61) and DATE_FORMAT(shop_products.created_at, '%Y-%m-%d %H:%i') = DATE_FORMAT(shop_products.updated_at, '%Y-%m-%d %H:%i') and exists (select 1 from `accounts` where `accounts`.`id` = `shop_products`.`account_id` and `accounts`.`deleted_at` is null) and `shop_products`.`deleted_at` is null limit 40","type":"query","params":[],"bindings":[61,61,61],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":878},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":77},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211}],"start":1784272546.744467,"duration":0.01661,"duration_str":"16.61ms","memory":0,"memory_str":null,"filename":"PullController.php:878","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":878},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FHttp%2FControllers%2FApi%2FDesktop%2FPullController.php&line=878","ajax":false,"filename":"PullController.php","line":"878"},"connection":"habib_cables","explain":null,"start_percent":30.938,"width_percent":37.896},{"sql":"select * from `accounts` where `accounts`.`id` in (19, 24, 33, 36, 50, 76, 78, 82) and `accounts`.`deleted_at` is null","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":888},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":77},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211}],"start":1784272546.765218,"duration":0.00134,"duration_str":"1.34ms","memory":0,"memory_str":null,"filename":"PullController.php:888","source":{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":888},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FHttp%2FControllers%2FApi%2FDesktop%2FPullController.php&line=888","ajax":false,"filename":"PullController.php","line":"888"},"connection":"habib_cables","explain":null,"start_percent":68.834,"width_percent":3.057},{"sql":"select * from `uoms` where `uoms`.`id` in (21, 22, 23)","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":25,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":888},{"index":26,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":77},{"index":27,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":28,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":29,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211}],"start":1784272546.769987,"duration":0.0044800000000000005,"duration_str":"4.48ms","memory":0,"memory_str":null,"filename":"PullController.php:888","source":{"index":25,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":888},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FHttp%2FControllers%2FApi%2FDesktop%2FPullController.php&line=888","ajax":false,"filename":"PullController.php","line":"888"},"connection":"habib_cables","explain":null,"start_percent":71.891,"width_percent":10.221},{"sql":"select * from `shop_product_prices` where `shop_product_id` in (7, 9, 10, 12, 13, 15, 16, 17) and (`shop_id` is null or `shop_id` = 61) order by CASE WHEN shop_id = 61 THEN 0 ELSE 1 END, `id` asc","type":"query","params":[],"bindings":[7,9,10,12,13,15,16,17,61,61],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":898},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":77},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211}],"start":1784272546.802176,"duration":0.0019299999999999999,"duration_str":"1.93ms","memory":0,"memory_str":null,"filename":"PullController.php:898","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":898},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FHttp%2FControllers%2FApi%2FDesktop%2FPullController.php&line=898","ajax":false,"filename":"PullController.php","line":"898"},"connection":"habib_cables","explain":null,"start_percent":82.113,"width_percent":4.403},{"sql":"select * from `shop_product_stocks` where `shop_product_id` in (7, 9, 10, 12, 13, 15, 16, 17) and `shop_id` = 61","type":"query","params":[],"bindings":[7,9,10,12,13,15,16,17,61],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":907},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":77},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\laragon\\www\\habibcables-ERP\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211}],"start":1784272546.8318892,"duration":0.00591,"duration_str":"5.91ms","memory":0,"memory_str":null,"filename":"PullController.php:907","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/Desktop\/PullController.php","file":"C:\\laragon\\www\\habibcables-ERP\\app\\Http\\Controllers\\Api\\Desktop\\PullController.php","line":907},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FHttp%2FControllers%2FApi%2FDesktop%2FPullController.php&line=907","ajax":false,"filename":"PullController.php","line":"907"},"connection":"habib_cables","explain":null,"start_percent":86.516,"width_percent":13.484}]},"models":{"data":{"App\\Models\\ShopProduct":{"retrieved":8,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FModels%2FShopProduct.php&line=1","ajax":false,"filename":"ShopProduct.php","line":"?"}},"App\\Models\\Account":{"retrieved":8,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FModels%2FAccount.php&line=1","ajax":false,"filename":"Account.php","line":"?"}},"App\\Models\\ShopProductPrice":{"retrieved":8,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FModels%2FShopProductPrice.php&line=1","ajax":false,"filename":"ShopProductPrice.php","line":"?"}},"App\\Models\\ShopProductStock":{"retrieved":8,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FModels%2FShopProductStock.php&line=1","ajax":false,"filename":"ShopProductStock.php","line":"?"}},"App\\Models\\Uom":{"retrieved":3,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FModels%2FUom.php&line=1","ajax":false,"filename":"Uom.php","line":"?"}},"Laravel\\Sanctum\\PersonalAccessToken":{"retrieved":1,"updated":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fvendor%2Flaravel%2Fsanctum%2Fsrc%2FPersonalAccessToken.php&line=1","ajax":false,"filename":"PersonalAccessToken.php","line":"?"}},"App\\Models\\User":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}}},"count":38,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":{"retrieved":37,"updated":1}},"livewire":{"data":[],"count":0},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"request":{"data":{"status":"200 OK","full_url":"http:\/\/127.0.0.1:8000\/api\/desktop\/sync\/pull\/products","action_name":"api.desktop.pull.products","controller_action":"App\\Http\\Controllers\\Api\\Desktop\\PullController@pullProducts","uri":"POST api\/desktop\/sync\/pull\/products","controller":"App\\Http\\Controllers\\Api\\Desktop\\PullController@pullProducts<a href=\"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FHttp%2FControllers%2FApi%2FDesktop%2FPullController.php&line=63\" class=\"phpdebugbar-widgets-editor-link\"><\/a>","prefix":"api\/desktop\/sync\/pull","file":"<a href=\"phpstorm:\/\/open?file=C%3A%2Flaragon%2Fwww%2Fhabibcables-ERP%2Fapp%2FHttp%2FControllers%2FApi%2FDesktop%2FPullController.php&line=63\" onclick=\"\" class=\"phpdebugbar-widgets-editor-link\">app\/Http\/Controllers\/Api\/Desktop\/PullController.php:63-129<\/a>","middleware":"web, auth:sanctum, shop.isolation","duration":"693ms","peak_memory":"32MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-297439914 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-297439914\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-636141432 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>last_sync_at<\/span>\" => <span class=sf-dump-const>null<\/span>\n  \"<span class=sf-dump-key>shop_id<\/span>\" => <span class=sf-dump-num>61<\/span>\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-636141432\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-264299666 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>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=\"14 characters\">127.0.0.1:8000<\/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=\"12 characters\">GuzzleHttp\/7<\/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>authorization<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"18 characters\">Bearer 41|aA******<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-length<\/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\">34<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-264299666\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1705266868 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1705266868\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-1800136439 data-indent-pad=\"  \"><span class=sf-dump-note>array:3<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>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, 17 Jul 2026 07:15: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<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1800136439\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-1619064652 data-indent-pad=\"  \"><span class=sf-dump-note>array:1<\/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\">U6qFWwdwKfU5Yio7NeMLa0uNEf60YS7g811gLSUi<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1619064652\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"http:\/\/127.0.0.1:8000\/api\/desktop\/sync\/pull\/products","action_name":"api.desktop.pull.products","controller_action":"App\\Http\\Controllers\\Api\\Desktop\\PullController@pullProducts"},"badge":null}}