{"__meta":{"id":"01K857X9P0AX4HPJ2QXVRXTS61","datetime":"2025-10-22 11:57:43","utime":1761112663.745051,"method":"GET","uri":"\/api\/admin\/dashboard\/sales-summary","ip":"172.19.0.1"},"messages":{"count":0,"messages":[]},"time":{"start":1761112663.601041,"end":1761112663.74507,"duration":0.144028902053833,"duration_str":"144ms","measures":[{"label":"Booting","start":1761112663.601041,"relative_start":0,"end":1761112663.635782,"relative_end":1761112663.635782,"duration":0.03474092483520508,"duration_str":"34.74ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1761112663.635795,"relative_start":0.034754037857055664,"end":1761112663.745075,"relative_end":5.0067901611328125e-6,"duration":0.10927987098693848,"duration_str":"109ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1761112663.638074,"relative_start":0.0370328426361084,"end":1761112663.640695,"relative_end":1761112663.640695,"duration":0.002621173858642578,"duration_str":"2.62ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":3044296,"peak_usage_str":"3MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"9.x","tooltip":{"Laravel Version":"9.52.20","PHP Version":"8.2.27","Environment":"local","Debug Mode":"Enabled","URL":"foodking.lrvl","Timezone":"Asia\/Dhaka","Locale":"en"}},"views":{"count":0,"nb_templates":0,"templates":[]},"queries":{"count":66,"nb_statements":66,"nb_visible_statements":66,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.04731999999999998,"accumulated_duration_str":"47.32ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"select `permissions`.*, `model_has_permissions`.`model_id` as `pivot_model_id`, `model_has_permissions`.`permission_id` as `pivot_permission_id`, `model_has_permissions`.`model_type` as `pivot_model_type` from `permissions` inner join `model_has_permissions` on `permissions`.`id` = `model_has_permissions`.`permission_id` where `model_has_permissions`.`model_id` = 1 and `model_has_permissions`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":[1,"App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":19,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":305},{"index":20,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":193},{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":244},{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","line":136},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","line":553}],"start":1761112663.6473472,"duration":0.00132,"duration_str":"1.32ms","memory":0,"memory_str":null,"filename":"HasPermissions.php:305","source":{"index":19,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":305},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasPermissions.php&line=305","ajax":false,"filename":"HasPermissions.php","line":"305"},"connection":"foodking","explain":null,"start_percent":0,"width_percent":2.79},{"sql":"select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (1) and `model_has_roles`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":true,"backtrace":[{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":291},{"index":23,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":193},{"index":24,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":244},{"index":25,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","line":136}],"start":1761112663.6502018,"duration":0.0009599999999999999,"duration_str":"960\u03bcs","memory":0,"memory_str":null,"filename":"HasRoles.php:188","source":{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/laravel\/foodking\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":188},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasRoles.php&line=188","ajax":false,"filename":"HasRoles.php","line":"188"},"connection":"foodking","explain":null,"start_percent":2.79,"width_percent":2.029},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":111},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.654279,"duration":0.00102,"duration_str":"1.02ms","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":4.818,"width_percent":2.156},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) >= '2025-10-01' and date(`order_datetime`) <= '2025-10-31' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-01","2025-10-31",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":111},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.6561432,"duration":0.00116,"duration_str":"1.16ms","memory":0,"memory_str":null,"filename":"DashboardService.php:111","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":111},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=111","ajax":false,"filename":"DashboardService.php","line":"111"},"connection":"foodking","explain":null,"start_percent":6.974,"width_percent":2.451},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.6583078,"duration":0.00078,"duration_str":"780\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":9.425,"width_percent":1.648},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-01' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-01",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.659758,"duration":0.00064,"duration_str":"640\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":11.074,"width_percent":1.352},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.661144,"duration":0.0006,"duration_str":"600\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":12.426,"width_percent":1.268},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-02' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-02",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.6625412,"duration":0.00101,"duration_str":"1.01ms","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":13.694,"width_percent":2.134},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.664294,"duration":0.00064,"duration_str":"640\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":15.828,"width_percent":1.352},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-03' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-03",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.665491,"duration":0.0008,"duration_str":"800\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":17.181,"width_percent":1.691},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.667155,"duration":0.00075,"duration_str":"750\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":18.872,"width_percent":1.585},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-04' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-04",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.6686258,"duration":0.0009599999999999999,"duration_str":"960\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":20.456,"width_percent":2.029},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.670316,"duration":0.00067,"duration_str":"670\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":22.485,"width_percent":1.416},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-05' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-05",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.671493,"duration":0.00074,"duration_str":"740\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":23.901,"width_percent":1.564},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.672797,"duration":0.0006,"duration_str":"600\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":25.465,"width_percent":1.268},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-06' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-06",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.673877,"duration":0.0007099999999999999,"duration_str":"710\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":26.733,"width_percent":1.5},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.675307,"duration":0.00122,"duration_str":"1.22ms","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":28.233,"width_percent":2.578},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-07' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-07",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.6771529,"duration":0.00126,"duration_str":"1.26ms","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":30.811,"width_percent":2.663},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.679145,"duration":0.0008900000000000001,"duration_str":"890\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":33.474,"width_percent":1.881},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-08' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-08",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.680824,"duration":0.00092,"duration_str":"920\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":35.355,"width_percent":1.944},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.6825948,"duration":0.00061,"duration_str":"610\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":37.299,"width_percent":1.289},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-09' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-09",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.6839051,"duration":0.00062,"duration_str":"620\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":38.588,"width_percent":1.31},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.6852448,"duration":0.00041999999999999996,"duration_str":"420\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":39.899,"width_percent":0.888},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-10' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-10",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.686386,"duration":0.00068,"duration_str":"680\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":40.786,"width_percent":1.437},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.687767,"duration":0.00053,"duration_str":"530\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":42.223,"width_percent":1.12},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-11' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-11",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.68888,"duration":0.00064,"duration_str":"640\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":43.343,"width_percent":1.352},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.690204,"duration":0.00038,"duration_str":"380\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":44.696,"width_percent":0.803},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-12' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-12",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.691247,"duration":0.00068,"duration_str":"680\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":45.499,"width_percent":1.437},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.692821,"duration":0.0008100000000000001,"duration_str":"810\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":46.936,"width_percent":1.712},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-13' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-13",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.694452,"duration":0.00091,"duration_str":"910\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":48.648,"width_percent":1.923},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.695982,"duration":0.0005899999999999999,"duration_str":"590\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":50.571,"width_percent":1.247},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-14' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-14",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.697183,"duration":0.00058,"duration_str":"580\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":51.817,"width_percent":1.226},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.698453,"duration":0.0004,"duration_str":"400\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":53.043,"width_percent":0.845},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-15' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-15",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.699466,"duration":0.00046,"duration_str":"460\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":53.888,"width_percent":0.972},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.700519,"duration":0.00053,"duration_str":"530\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":54.861,"width_percent":1.12},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-16' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-16",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.701572,"duration":0.0007099999999999999,"duration_str":"710\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":55.981,"width_percent":1.5},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.702857,"duration":0.00058,"duration_str":"580\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":57.481,"width_percent":1.226},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-17' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-17",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.7039368,"duration":0.0006,"duration_str":"600\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":58.707,"width_percent":1.268},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.705116,"duration":0.00053,"duration_str":"530\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":59.975,"width_percent":1.12},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-18' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-18",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.706204,"duration":0.00079,"duration_str":"790\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":61.095,"width_percent":1.669},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.707638,"duration":0.0007199999999999999,"duration_str":"720\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":62.764,"width_percent":1.522},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-19' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-19",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.709198,"duration":0.00113,"duration_str":"1.13ms","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":64.286,"width_percent":2.388},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.711165,"duration":0.00083,"duration_str":"830\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":66.674,"width_percent":1.754},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-20' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-20",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.712589,"duration":0.00073,"duration_str":"730\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":68.428,"width_percent":1.543},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.714094,"duration":0.00061,"duration_str":"610\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":69.97,"width_percent":1.289},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-21' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-21",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.71538,"duration":0.00092,"duration_str":"920\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":71.26,"width_percent":1.944},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.717187,"duration":0.00074,"duration_str":"740\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":73.204,"width_percent":1.564},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-22' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-22",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.718504,"duration":0.00074,"duration_str":"740\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":74.768,"width_percent":1.564},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.719851,"duration":0.00064,"duration_str":"640\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":76.331,"width_percent":1.352},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-23' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-23",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.721081,"duration":0.00063,"duration_str":"630\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":77.684,"width_percent":1.331},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.722451,"duration":0.0005200000000000001,"duration_str":"520\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":79.015,"width_percent":1.099},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-24' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-24",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.723536,"duration":0.00057,"duration_str":"570\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":80.114,"width_percent":1.205},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.7249248,"duration":0.0007700000000000001,"duration_str":"770\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":81.319,"width_percent":1.627},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-25' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-25",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.726542,"duration":0.0007199999999999999,"duration_str":"720\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":82.946,"width_percent":1.522},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.728025,"duration":0.00065,"duration_str":"650\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":84.467,"width_percent":1.374},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-26' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-26",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.7294161,"duration":0.00063,"duration_str":"630\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":85.841,"width_percent":1.331},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.730813,"duration":0.00055,"duration_str":"550\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":87.172,"width_percent":1.162},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-27' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-27",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.7320569,"duration":0.00058,"duration_str":"580\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":88.335,"width_percent":1.226},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.733412,"duration":0.00063,"duration_str":"630\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":89.56,"width_percent":1.331},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-28' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-28",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.734702,"duration":0.00053,"duration_str":"530\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":90.892,"width_percent":1.12},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.735985,"duration":0.00049,"duration_str":"490\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":92.012,"width_percent":1.036},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-29' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-29",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.737176,"duration":0.00057,"duration_str":"570\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":93.047,"width_percent":1.205},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.738492,"duration":0.0005,"duration_str":"500\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":94.252,"width_percent":1.057},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-30' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-30",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.73968,"duration":0.00067,"duration_str":"670\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":95.309,"width_percent":1.416},{"sql":"select * from `default_access` where (`user_id` = 1 and `name` = 'branch_id') limit 1","type":"query","params":[],"bindings":[1,"branch_id"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},{"index":16,"namespace":null,"name":"app\/Models\/Scopes\/BranchScope.php","file":"\/var\/www\/laravel\/foodking\/app\/Models\/Scopes\/BranchScope.php","line":20},{"index":22,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":23,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54}],"start":1761112663.741192,"duration":0.00082,"duration_str":"820\u03bcs","memory":0,"memory_str":null,"filename":"DefaultAccessModelTrait.php:17","source":{"index":15,"namespace":null,"name":"app\/Traits\/DefaultAccessModelTrait.php","file":"\/var\/www\/laravel\/foodking\/app\/Traits\/DefaultAccessModelTrait.php","line":17},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FTraits%2FDefaultAccessModelTrait.php&line=17","ajax":false,"filename":"DefaultAccessModelTrait.php","line":"17"},"connection":"foodking","explain":null,"start_percent":96.724,"width_percent":1.733},{"sql":"select sum(`total`) as aggregate from `orders` where date(`order_datetime`) = '2025-10-31' and `payment_status` = 5 and (`orders`.`branch_id` = 1 or `orders`.`branch_id` = 0)","type":"query","params":[],"bindings":["2025-10-31",5,1,0],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Admin\/DashboardController.php","file":"\/var\/www\/laravel\/foodking\/app\/Http\/Controllers\/Admin\/DashboardController.php","line":94},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/laravel\/foodking\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":259}],"start":1761112663.742779,"duration":0.00073,"duration_str":"730\u03bcs","memory":0,"memory_str":null,"filename":"DashboardService.php:122","source":{"index":15,"namespace":null,"name":"app\/Services\/DashboardService.php","file":"\/var\/www\/laravel\/foodking\/app\/Services\/DashboardService.php","line":122},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FServices%2FDashboardService.php&line=122","ajax":false,"filename":"DashboardService.php","line":"122"},"connection":"foodking","explain":null,"start_percent":98.457,"width_percent":1.543}]},"models":{"data":{"App\\Models\\DefaultAccess":{"value":32,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FModels%2FDefaultAccess.php&line=1","ajax":false,"filename":"DefaultAccess.php","line":"?"}},"Spatie\\Permission\\Models\\Role":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FModels%2FRole.php&line=1","ajax":false,"filename":"Role.php","line":"?"}}},"count":33,"is_counter":true},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":1,"messages":[{"message":"[\n  ability => dashboard,\n  target => null,\n  result => true,\n  user => 1,\n  arguments => []\n]","message_html":"<pre class=sf-dump id=sf-dump-2094273031 data-indent-pad=\"  \"><span class=sf-dump-note>dashboard <\/span> [<samp data-depth=1 class=sf-dump-compact>\n  \"<span class=sf-dump-key>ability<\/span>\" => \"<span class=sf-dump-str title=\"9 characters\">dashboard<\/span>\"\n  \"<span class=sf-dump-key>target<\/span>\" => <span class=sf-dump-const>null<\/span>\n  \"<span class=sf-dump-key>result<\/span>\" => <span class=sf-dump-const>true<\/span>\n  \"<span class=sf-dump-key>user<\/span>\" => <span class=sf-dump-num>1<\/span>\n  \"<span class=sf-dump-key>arguments<\/span>\" => \"<span class=sf-dump-str title=\"2 characters\">[]<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-2094273031\", {\"maxDepth\":0})<\/script>\n","is_string":false,"label":"success","time":1761112663.652837,"xdebug_link":null}]},"request":{"data":{"status":"200 OK","full_url":"http:\/\/foodking.lrvl\/api\/admin\/dashboard\/sales-summary","action_name":"admin.dashboard.","controller_action":"App\\Http\\Controllers\\Admin\\DashboardController@salesSummary","uri":"GET api\/admin\/dashboard\/sales-summary","controller":"App\\Http\\Controllers\\Admin\\DashboardController@salesSummary<a href=\"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FHttp%2FControllers%2FAdmin%2FDashboardController.php&line=90\" class=\"phpdebugbar-widgets-editor-link\"><\/a>","prefix":"api\/admin\/dashboard","file":"<a href=\"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Flaravel%2Ffoodking%2Fapp%2FHttp%2FControllers%2FAdmin%2FDashboardController.php&line=90\" onclick=\"\" class=\"phpdebugbar-widgets-editor-link\">app\/Http\/Controllers\/Admin\/DashboardController.php:90-98<\/a>","middleware":"api, installed, apiKey, localization","duration":"147ms","peak_memory":"4MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-283066344 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-283066344\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1999992624 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1999992624\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1906356932 data-indent-pad=\"  \"><span class=sf-dump-note>array:18<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cookie<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"1106 characters\">user_cookie_consent=Mozilla%2F5.0%20%28X11%3B%20Linux%20x86_64%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%20Chrome%2F141.0.0.0%20Safari%2F537.36%2C%20172.19.0.1; cookies_notification=1; __stripe_mid=7c5fc8b7-922a-420f-a859-0d62a47aade75ee770; XSRF-TOKEN=eyJpdiI6ImdKSHFnYjJzdUx6MlJBSmhCb3E0N0E9PSIsInZhbHVlIjoiQnh0T3IvUFJhS2JMVkF3VVBPNUtvY3BCS1dscndpcjJ4cGNYZ1ZzeVoycWg1U1U1cFQ4ZXZzMkFhMkdKa3RyU2l3Q2xhUUpsK2svd2VFWkR0TWNFSFVmMkdNbHFMcU5TT3dVbm9KVksrQ2RMUGJlTHVFU29rcWtiSU9ubEQyZ0QiLCJtYWMiOiI3N2E4OGU2NWY0Mzc1NDQ0ZDQ2Y2U3MjJhNTFiY2IxODVlY2FkYjhlZTgwNTMxNmYzYmI0YjM5MzY3NzY2ZTllIiwidGFnIjoiIn0%3D; foodking_restaurant_food_ordering_delivery_app_session=eyJpdiI6IlRhMWtCaG9xcGN6d1pRdmg3ZFlZdFE9PSIsInZhbHVlIjoibEkzaDJTZFZBbERsME5UQWRyWUVKeitPV3l1UytBM2RoSUZoa2VTUk5OM0ZLMjVKZWNHZTFJZGlqV2RYUlB0TFdJR1ZHdlIyT0Vlcmh1QnFIN3JEOStHaDgxZnJoNWlmb2hFQUlpZVphWGVwVURkbEFYS0hJYjBJNjFidTdjTlkiLCJtYWMiOiIzOWJhMDMxZGE0ZGM5ODliODA0YzlkMTE0ZTY2MGFhOTNlOTczNTVhZGVmZWRjZDg3Y2QyMGZiNzI5NmMxNjliIiwidGFnIjoiIn0%3D; rzp_unified_session_id=RWPZ7E23wsu0Zx; __stripe_sid=76250f75-ad6e-464c-befd-b435e147afe49a7f54<\/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=\"23 characters\">en-US,en;q=0.9,bn;q=0.8<\/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=\"13 characters\">gzip, deflate<\/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=\"36 characters\">http:\/\/foodking.lrvl\/admin\/dashboard<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-dest<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"5 characters\">empty<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-mode<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"4 characters\">cors<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-site<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"11 characters\">same-origin<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"101 characters\">Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/141.0.0.0 Safari\/537.36<\/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>x-api-key<\/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=\"38 characters\">b6d68vy2-m7g5-20r0-5275-h103w73453q120<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-localization<\/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\">en<\/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;Google Chrome&quot;;v=&quot;141&quot;, &quot;Not?A_Brand&quot;;v=&quot;8&quot;, &quot;Chromium&quot;;v=&quot;141&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-xsrf-token<\/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=\"340 characters\">eyJpdiI6ImdKSHFnYjJzdUx6MlJBSmhCb3E0N0E9PSIsInZhbHVlIjoiQnh0T3IvUFJhS2JMVkF3VVBPNUtvY3BCS1dscndpcjJ4cGNYZ1ZzeVoycWg1U1U1cFQ4ZXZzMkFhMkdKa3RyU2l3Q2xhUUpsK2svd2VFWkR0TWNFSFVmMkdNbHFMcU5TT3dVbm9KVksrQ2RMUGJlTHVFU29rcWtiSU9ubEQyZ0QiLCJtYWMiOiI3N2E4OGU2NWY0Mzc1NDQ0ZDQ2Y2U3MjJhNTFiY2IxODVlY2FkYjhlZTgwNTMxNmYzYmI0YjM5MzY3NzY2ZTllIiwidGFnIjoiIn0=<\/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 2|9eY******<\/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=\"7 characters\">&quot;Linux&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=\"13 characters\">foodking.lrvl<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1906356932\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-847181456 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>user_cookie_consent<\/span>\" => \"<span class=sf-dump-str title=\"113 characters\">Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/141.0.0.0 Safari\/537.36, 172.19.0.1<\/span>\"\n  \"<span class=sf-dump-key>cookies_notification<\/span>\" => \"<span class=sf-dump-str>1<\/span>\"\n  \"<span class=sf-dump-key>__stripe_mid<\/span>\" => \"<span class=sf-dump-str title=\"42 characters\">7c5fc8b7-922a-420f-a859-0d62a47aade75ee770<\/span>\"\n  \"<span class=sf-dump-key>XSRF-TOKEN<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6ImdKSHFnYjJzdUx6MlJBSmhCb3E0N0E9PSIsInZhbHVlIjoiQnh0T3IvUFJhS2JMVkF3VVBPNUtvY3BCS1dscndpcjJ4cGNYZ1ZzeVoycWg1U1U1cFQ4ZXZzMkFhMkdKa3RyU2l3Q2xhUUpsK2svd2VFWkR0TWNFSFVmMkdNbHFMcU5TT3dVbm9KVksrQ2RMUGJlTHVFU29rcWtiSU9ubEQyZ0QiLCJtYWMiOiI3N2E4OGU2NWY0Mzc1NDQ0ZDQ2Y2U3MjJhNTFiY2IxODVlY2FkYjhlZTgwNTMxNmYzYmI0YjM5MzY3NzY2ZTllIiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>foodking_restaurant_food_ordering_delivery_app_session<\/span>\" => \"<span class=sf-dump-str title=\"340 characters\">eyJpdiI6IlRhMWtCaG9xcGN6d1pRdmg3ZFlZdFE9PSIsInZhbHVlIjoibEkzaDJTZFZBbERsME5UQWRyWUVKeitPV3l1UytBM2RoSUZoa2VTUk5OM0ZLMjVKZWNHZTFJZGlqV2RYUlB0TFdJR1ZHdlIyT0Vlcmh1QnFIN3JEOStHaDgxZnJoNWlmb2hFQUlpZVphWGVwVURkbEFYS0hJYjBJNjFidTdjTlkiLCJtYWMiOiIzOWJhMDMxZGE0ZGM5ODliODA0YzlkMTE0ZTY2MGFhOTNlOTczNTVhZGVmZWRjZDg3Y2QyMGZiNzI5NmMxNjliIiwidGFnIjoiIn0=<\/span>\"\n  \"<span class=sf-dump-key>rzp_unified_session_id<\/span>\" => \"<span class=sf-dump-str title=\"14 characters\">RWPZ7E23wsu0Zx<\/span>\"\n  \"<span class=sf-dump-key>__stripe_sid<\/span>\" => \"<span class=sf-dump-str title=\"42 characters\">76250f75-ad6e-464c-befd-b435e147afe49a7f54<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-847181456\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-753711173 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, 22 Oct 2025 05:57:43 GMT<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-limit<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">120<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>x-ratelimit-remaining<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">110<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-753711173\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-2067029887 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-2067029887\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"http:\/\/foodking.lrvl\/api\/admin\/dashboard\/sales-summary","action_name":"admin.dashboard.","controller_action":"App\\Http\\Controllers\\Admin\\DashboardController@salesSummary"},"badge":null}}