{"__meta":{"id":"01M0SWKRECNN6401WTY92ZSSVR","datetime":"2026-08-24 18:11:03","utime":1787575263.692901,"method":"GET","uri":"\/school\/chanakaya-international-school\/staff\/applications?status=pending","ip":"127.0.0.1"},"request":{"data":{"uri":"GET school\/{slug}\/staff\/applications","middleware":["web","staff.auth"],"controller":{"value":"App\\Http\\Controllers\\Staff\\ApplicationController@index","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=13","ajax":false,"filename":"ApplicationController.php","line":"13","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"}},"prefix":"school\/{slug}\/staff\/applications","file":{"value":"app\/Http\/Controllers\/Staff\/ApplicationController.php:13-82","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=13","ajax":false,"filename":"ApplicationController.php","line":"13","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"}},"method":"GET","format":"html","content_type":"text\/html; charset=utf-8","status_text":"OK","status_code":200,"request_query":{"status":"pending"},"request_request":[],"request_files":[],"request_headers":{"host":["127.0.0.1:8000"],"connection":["keep-alive"],"sec-ch-ua":["\"Not=A?Brand\";v=\"99\", \"Google Chrome\";v=\"151\", \"Chromium\";v=\"151\""],"sec-ch-ua-mobile":["?0"],"sec-ch-ua-platform":["\"Windows\""],"upgrade-insecure-requests":["1"],"user-agent":["Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/151.0.0.0 Safari\/537.36"],"accept":["text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7"],"sec-fetch-site":["same-origin"],"sec-fetch-mode":["navigate"],"sec-fetch-user":["?1"],"sec-fetch-dest":["document"],"referer":["http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/staff\/applications?status=active"],"accept-encoding":["gzip, deflate, br, zstd"],"accept-language":["en-GB,en-US;q=0.9,en;q=0.8"],"cookie":["PHPDEBUGBAR_STACK_DATA=%5B%5D; XSRF-TOKEN=eyJpdiI6InRmU2lRZDlJbTIzV2tWL3hXeExBOVE9PSIsInZhbHVlIjoia0IrN2hHbC8vY2dFT0JISjJGWEpMM3FnbkR5KzJqaDdOWW1zZUJRL0tsckRNNytuOTlYS09ITU1tWUkvdWRTWW1DaU5iQnpCR3dTMlpFQU5ma1dWMVVzUHpmaUEyZGlqSUpTc2lrc2RVb2dHUzdOQ3JMbWJHNHFmTWF6L2ZmYk0iLCJtYWMiOiI3NDk2ODllMjBlZjQxNjM5MjJlMjMzMDVmY2UxZjI0NGQxMTU4Mjc4NmE5OTk4MTUzNTZmYTZkZjJhYjVlMTNkIiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6ImNiY3BmK0lmSnc5VWVDZ2wxSzJVaFE9PSIsInZhbHVlIjoiTjhJMGdkTEVCWkJwWVV0cU1CcklMUEh0RE5vcmhiK3ArRnpmMXNLR0FETDRROWFOQTJwRG1Hak1oajlIOVpMaVIwQXd4OHpXVU9Xa2hZZGVaN3Naa1NRSWN1cUdpQW01dVJMNnNjR0dnYUhlTXpGTkVuTTFjTDl6OFJqNUgrZGUiLCJtYWMiOiIwNTliNWI5NGYyYjQ5OGJhZjRkNzhjZDljNjJjMzdhZTI3YjBmMmY1MDc3NGM0OTM0YzNjNjAzODZkMzUyMDcwIiwidGFnIjoiIn0%3D"]},"request_server":{"DOCUMENT_ROOT":"C:\\xampp\\htdocs\\school-erp\\public","REMOTE_ADDR":"127.0.0.1","REMOTE_PORT":"59004","SERVER_SOFTWARE":"PHP 8.2.12 Development Server","SERVER_PROTOCOL":"HTTP\/1.1","SERVER_NAME":"127.0.0.1","SERVER_PORT":"8000","REQUEST_URI":"\/school\/chanakaya-international-school\/staff\/applications?status=pending","REQUEST_METHOD":"GET","SCRIPT_NAME":"\/index.php","SCRIPT_FILENAME":"C:\\xampp\\htdocs\\school-erp\\public\\index.php","PATH_INFO":"\/school\/chanakaya-international-school\/staff\/applications","PHP_SELF":"\/index.php\/school\/chanakaya-international-school\/staff\/applications","QUERY_STRING":"status=pending","HTTP_HOST":"127.0.0.1:8000","HTTP_CONNECTION":"keep-alive","HTTP_SEC_CH_UA":"\"Not=A?Brand\";v=\"99\", \"Google Chrome\";v=\"151\", \"Chromium\";v=\"151\"","HTTP_SEC_CH_UA_MOBILE":"?0","HTTP_SEC_CH_UA_PLATFORM":"\"Windows\"","HTTP_UPGRADE_INSECURE_REQUESTS":"1","HTTP_USER_AGENT":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/151.0.0.0 Safari\/537.36","HTTP_ACCEPT":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7","HTTP_SEC_FETCH_SITE":"same-origin","HTTP_SEC_FETCH_MODE":"navigate","HTTP_SEC_FETCH_USER":"?1","HTTP_SEC_FETCH_DEST":"document","HTTP_REFERER":"http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/staff\/applications?status=active","HTTP_ACCEPT_ENCODING":"gzip, deflate, br, zstd","HTTP_ACCEPT_LANGUAGE":"en-GB,en-US;q=0.9,en;q=0.8","HTTP_COOKIE":"PHPDEBUGBAR_STACK_DATA=%5B%5D; XSRF-TOKEN=eyJpdiI6InRmU2lRZDlJbTIzV2tWL3hXeExBOVE9PSIsInZhbHVlIjoia0IrN2hHbC8vY2dFT0JISjJGWEpMM3FnbkR5KzJqaDdOWW1zZUJRL0tsckRNNytuOTlYS09ITU1tWUkvdWRTWW1DaU5iQnpCR3dTMlpFQU5ma1dWMVVzUHpmaUEyZGlqSUpTc2lrc2RVb2dHUzdOQ3JMbWJHNHFmTWF6L2ZmYk0iLCJtYWMiOiI3NDk2ODllMjBlZjQxNjM5MjJlMjMzMDVmY2UxZjI0NGQxMTU4Mjc4NmE5OTk4MTUzNTZmYTZkZjJhYjVlMTNkIiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6ImNiY3BmK0lmSnc5VWVDZ2wxSzJVaFE9PSIsInZhbHVlIjoiTjhJMGdkTEVCWkJwWVV0cU1CcklMUEh0RE5vcmhiK3ArRnpmMXNLR0FETDRROWFOQTJwRG1Hak1oajlIOVpMaVIwQXd4OHpXVU9Xa2hZZGVaN3Naa1NRSWN1cUdpQW01dVJMNnNjR0dnYUhlTXpGTkVuTTFjTDl6OFJqNUgrZGUiLCJtYWMiOiIwNTliNWI5NGYyYjQ5OGJhZjRkNzhjZDljNjJjMzdhZTI3YjBmMmY1MDc3NGM0OTM0YzNjNjAzODZkMzUyMDcwIiwidGFnIjoiIn0%3D","REQUEST_TIME_FLOAT":1787575263.279011,"REQUEST_TIME":1787575263},"request_cookies":{"PHPDEBUGBAR_STACK_DATA":"**","XSRF-TOKEN":"Se***MQ","laravel-session":"Aam2E44ejYMdiehhmsLe9oytlkaD30G2zt4T4noX"},"request_attributes":[],"route":"","response_headers":{"content-type":["text\/html; charset=utf-8"],"cache-control":["no-cache, private"],"date":["Mon, 24 Aug 2026 12:41:03 GMT"],"set-cookie":["XSRF-TOKEN=eyJpdiI6InFNRnZTelhSVUxzSmNMSVhZd3NCR0E9PSIsInZhbHVlIjoiU1ZXU2lJMVlkMkRvcGtKclA0cjhVNUxKem9Lbm8yaTY0WTBKdmR6TEZUalVXaWNnVmVsS1pSTFhxZ0s2Q2t5aHF4clVJZVVBZnBHUDF1dThpaFZqNjBWTVBSVTBaanJNNVpTQndTSDZMeFVuUzhVK1pUSEc3UFNLQ1R4dkhBTDkiLCJtYWMiOiI5ODViNTMxNzgzOTc5OWM0YTEyMmM3N2ViYTNjYWYwZjJhNmRlNjZmNzFmMzBlMzY5YjRlZTM1Y2RlYjUzNzFkIiwidGFnIjoiIn0%3D; expires=Mon, 24 Aug 2026 14:41:03 GMT; Max-Age=7200; path=\/; samesite=lax","laravel-session=eyJpdiI6Im9yREV4UlFia0srdnZEOEpzTEl1NVE9PSIsInZhbHVlIjoiK0daM2lLVjUzR21iYVE3cjg1ZFArT3Q3TC9JczdKdE85WTdReCtORFFySFF6QVlrZE5nZWVudFVIZ3h3a0NXUUxacEJqZldyU2V0K1MvVjVsNlF6d3krZnZ3cjBldFBPZ1k4MkFNQ0FMdWdRWGpQaU50VlRRZkVnK0pBdWJzUnoiLCJtYWMiOiJmYmMyY2YyNmIwMzA0MjMxNzViOWFkMmJkNzdkMTNhZjU4MTIwZTM1NGM1OTU5Y2I1Y2VkODRiOTJlYTY3Y2Q0IiwidGFnIjoiIn0%3D; expires=Mon, 24 Aug 2026 14:41:03 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"]},"response_cookies":["XSRF-TOKEN=eyJpdiI6InFNRnZTelhSVUxzSmNMSVhZd3NCR0E9PSIsInZhbHVlIjoiU1ZXU2lJMVlkMkRvcGtKclA0cjhVNUxKem9Lbm8yaTY0WTBKdmR6TEZUalVXaWNnVmVsS1pSTFhxZ0s2Q2t5aHF4clVJZVVBZnBHUDF1dThpaFZqNjBWTVBSVTBaanJNNVpTQndTSDZMeFVuUzhVK1pUSEc3UFNLQ1R4dkhBTDkiLCJtYWMiOiI5ODViNTMxNzgzOTc5OWM0YTEyMmM3N2ViYTNjYWYwZjJhNmRlNjZmNzFmMzBlMzY5YjRlZTM1Y2RlYjUzNzFkIiwidGFnIjoiIn0%3D; expires=Mon, 24-Aug-2026 14:41:03 GMT; path=\/","laravel-session=eyJpdiI6Im9yREV4UlFia0srdnZEOEpzTEl1NVE9PSIsInZhbHVlIjoiK0daM2lLVjUzR21iYVE3cjg1ZFArT3Q3TC9JczdKdE85WTdReCtORFFySFF6QVlrZE5nZWVudFVIZ3h3a0NXUUxacEJqZldyU2V0K1MvVjVsNlF6d3krZnZ3cjBldFBPZ1k4MkFNQ0FMdWdRWGpQaU50VlRRZkVnK0pBdWJzUnoiLCJtYWMiOiJmYmMyY2YyNmIwMzA0MjMxNzViOWFkMmJkNzdkMTNhZjU4MTIwZTM1NGM1OTU5Y2I1Y2VkODRiOTJlYTY3Y2Q0IiwidGFnIjoiIn0%3D; expires=Mon, 24-Aug-2026 14:41:03 GMT; path=\/; httponly"],"session_metadata":[],"session_attributes":{"_token":"Se***MQ","_previous":{"url":"http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/staff\/applications?status=pending","route":"staff.applications.index"},"_flash":{"old":[],"new":[]},"staff_id":3,"staff_employee_code":"EMP-003","staff_school_id":4,"staff_school_slug":"chanakaya-international-school","user_role":"staff","user_name":"HARPREET SINGH"},"flashes":[],"path_info":"\/school\/chanakaya-international-school\/staff\/applications","locale":"en"},"tooltip":{"status":"200 OK","full_url":"http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/staff\/applications?status=pending","action_name":"staff.applications.index","controller_action":"App\\Http\\Controllers\\Staff\\ApplicationController@index"},"badge":null},"exceptions":{"count":0,"exceptions":[]},"messages":{"count":0,"messages":[]},"memory":{"peak_usage":27182240,"peak_usage_str":"26MB"},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.61.0","PHP Version":"8.2.12","Environment":"local","Debug Mode":"Enabled","URL":"localhost","Timezone":"Asia\/Kolkata","Locale":"en"}},"views":{"count":3,"nb_templates":3,"templates":[{"name":"staff.applications.index","param_count":null,"params":[],"start":1787575263.667059,"type":"blade","hash":"bladeC:\\xampp\\htdocs\\school-erp\\resources\\views\/staff\/applications\/index.blade.phpstaff.applications.index","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fresources%2Fviews%2Fstaff%2Fapplications%2Findex.blade.php&line=1","ajax":false,"filename":"index.blade.php","line":"?","path":"\\resources\\views\\staff\\applications\\index.blade.php"}},{"name":"pagination::tailwind","param_count":null,"params":[],"start":1787575263.670679,"type":"blade","hash":"bladeC:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Pagination\/resources\/views\/tailwind.blade.phppagination::tailwind","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FPagination%2Fresources%2Fviews%2Ftailwind.blade.php&line=1","ajax":false,"filename":"tailwind.blade.php","line":"?","path":"\\vendor\\laravel\\framework\\src\\Illuminate\\Pagination\\resources\\views\\tailwind.blade.php"}},{"name":"staff.layouts.app","param_count":null,"params":[],"start":1787575263.688027,"type":"blade","hash":"bladeC:\\xampp\\htdocs\\school-erp\\resources\\views\/staff\/layouts\/app.blade.phpstaff.layouts.app","xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fresources%2Fviews%2Fstaff%2Flayouts%2Fapp.blade.php&line=1","ajax":false,"filename":"app.blade.php","line":"?","path":"\\resources\\views\\staff\\layouts\\app.blade.php"}}]},"queries":{"count":13,"nb_statements":12,"nb_visible_statements":13,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.029580000000000002,"accumulated_duration_str":"29.58ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"Connection Established","type":"transaction","params":[],"backtrace":[{"index":9,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":20},{"index":10,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.594844,"slow":false,"filename":"ApplicationController.php:20","source":{"index":9,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":20},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=20","ajax":false,"filename":"ApplicationController.php","line":"20","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp"},{"sql":"select `designation` from `school_staff` where `id` = 3 limit 1","type":"query","params":[3],"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":20},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.599802,"duration":0.023239999999999997,"duration_str":"23.24ms","slow":false,"filename":"ApplicationController.php:20","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":20},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=20","ajax":false,"filename":"ApplicationController.php","line":"20","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select `designation` from `school_staff` where `id` = ? limit 1","modes":["explain"],"hash":"7c1602e031dbb7c05b56c1063fbd5331cd79b4f37244177ef8070801e54eeebf"},"start_percent":0,"width_percent":78.567},{"sql":"select count(*) as aggregate from `school_applications` where `school_id` = 4 and `status` in ('submitted', 'viewed')","type":"query","params":[4,"submitted","viewed"],"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":25},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.62668,"duration":0.00053,"duration_str":"530\u03bcs","slow":false,"filename":"ApplicationController.php:25","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":25},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=25","ajax":false,"filename":"ApplicationController.php","line":"25","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(*) as aggregate from `school_applications` where `school_id` = ? and `status` in (?, ?)","modes":["explain"],"hash":"d9831a05a29b9fa2d9337cbc55c01bcfb2b3c4fe7dedb48fc669914b5ee541bb"},"start_percent":78.567,"width_percent":1.792},{"sql":"select count(*) as aggregate from `school_applications` where `school_id` = 4 and `status` in ('approved', 'processed')","type":"query","params":[4,"approved","processed"],"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":26},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.630713,"duration":0.00047,"duration_str":"470\u03bcs","slow":false,"filename":"ApplicationController.php:26","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":26},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=26","ajax":false,"filename":"ApplicationController.php","line":"26","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(*) as aggregate from `school_applications` where `school_id` = ? and `status` in (?, ?)","modes":["explain"],"hash":"f31f4c9d677d336780801ac60b26977871a24e7d149c6d6fec060a0dbacf5523"},"start_percent":80.358,"width_percent":1.589},{"sql":"select count(*) as aggregate from `school_applications` where `school_id` = 4 and `status` = 'delivered'","type":"query","params":[4,"delivered"],"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":27},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.6347432,"duration":0.00045,"duration_str":"450\u03bcs","slow":false,"filename":"ApplicationController.php:27","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":27},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=27","ajax":false,"filename":"ApplicationController.php","line":"27","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(*) as aggregate from `school_applications` where `school_id` = ? and `status` = ?","modes":["explain"],"hash":"7688649ce5757a8cac9d48a93bf863cacc404e79c5134bbfb15dc7b805033748"},"start_percent":81.947,"width_percent":1.521},{"sql":"select count(*) as aggregate from `school_applications` as `a` inner join `students` as `s` on `a`.`student_id` = `s`.`id` left join `school_classes` as `c` on `a`.`class_id` = `c`.`id` left join `school_sections` as `sec` on `a`.`section_id` = `sec`.`id` where `a`.`school_id` = 4 and `a`.`status` in ('submitted', 'viewed')","type":"query","params":[4,"submitted","viewed"],"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":76},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.63973,"duration":0.00075,"duration_str":"750\u03bcs","slow":false,"filename":"ApplicationController.php:76","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":76},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=76","ajax":false,"filename":"ApplicationController.php","line":"76","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select count(*) as aggregate from `school_applications` as `a` inner join `students` as `s` on `a`.`student_id` = `s`.`id` left join `school_classes` as `c` on `a`.`class_id` = `c`.`id` left join `school_sections` as `sec` on `a`.`section_id` = `sec`.`id` where `a`.`school_id` = ? and `a`.`status` in (?, ?)","modes":["explain"],"hash":"866dafa5287cc10395f0e2861539b94172c71cd60085b3f5bddae30f281ccbe7"},"start_percent":83.469,"width_percent":2.535},{"sql":"select `a`.*, `s`.`student_name`, `s`.`admission_no`, `c`.`name` as `class_name`, `sec`.`name` as `section_name` from `school_applications` as `a` inner join `students` as `s` on `a`.`student_id` = `s`.`id` left join `school_classes` as `c` on `a`.`class_id` = `c`.`id` left join `school_sections` as `sec` on `a`.`section_id` = `sec`.`id` where `a`.`school_id` = 4 and `a`.`status` in ('submitted', 'viewed') order by\nCASE\nWHEN a.status = 'submitted' THEN 1\nWHEN a.status = 'viewed' THEN 2\nWHEN a.status = 'processed' THEN 3\nELSE 4\nEND ASC,\na.created_at DESC\nlimit 20 offset 0","type":"query","params":[4,"submitted","viewed"],"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":76},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.644109,"duration":0.0007,"duration_str":"700\u03bcs","slow":false,"filename":"ApplicationController.php:76","source":{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":76},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=76","ajax":false,"filename":"ApplicationController.php","line":"76","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select `a`.*, `s`.`student_name`, `s`.`admission_no`, `c`.`name` as `class_name`, `sec`.`name` as `section_name` from `school_applications` as `a` inner join `students` as `s` on `a`.`student_id` = `s`.`id` left join `school_classes` as `c` on `a`.`class_id` = `c`.`id` left join `school_sections` as `sec` on `a`.`section_id` = `sec`.`id` where `a`.`school_id` = ? and `a`.`status` in (?, ?) order by \r\n            CASE \r\n                WHEN a.status = 'submitted' THEN 1\r\n                WHEN a.status = 'viewed' THEN 2\r\n                WHEN a.status = 'processed' THEN 3\r\n                ELSE 4\r\n            END ASC,\r\n            a.created_at DESC\r\n         limit 20 offset 0","modes":["explain"],"hash":"84d5c9db1190c3c8e41eedff57ffa8364d9e2ac26e9548eb9e1edd57c8dcfad1"},"start_percent":86.004,"width_percent":2.366},{"sql":"select * from `school_classes` where `school_id` = 4 order by `name` asc","type":"query","params":[4],"backtrace":[{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":78},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.6493258,"duration":0.0005600000000000001,"duration_str":"560\u03bcs","slow":false,"filename":"ApplicationController.php:78","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":78},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=78","ajax":false,"filename":"ApplicationController.php","line":"78","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `school_classes` where `school_id` = ? order by `name` asc","modes":["explain"],"hash":"9c2d3c206498f8c4dd6b4ba274c2dc78cd03c66d5da6449b1083b1c77e4f065a"},"start_percent":88.371,"width_percent":1.893},{"sql":"select * from `school_sections` where `school_id` = 4 and `is_deleted` = 0 order by `name` asc","type":"query","params":[4,0],"backtrace":[{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":79},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php","line":46},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":265},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php","line":211},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php","line":822}],"start":1787575263.653732,"duration":0.00051,"duration_str":"510\u03bcs","slow":false,"filename":"ApplicationController.php:79","source":{"index":13,"namespace":null,"name":"app\/Http\/Controllers\/Staff\/ApplicationController.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Http\\Controllers\\Staff\\ApplicationController.php","line":79},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FHttp%2FControllers%2FStaff%2FApplicationController.php&line=79","ajax":false,"filename":"ApplicationController.php","line":"79","path":"\\app\\Http\\Controllers\\Staff\\ApplicationController.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `school_sections` where `school_id` = ? and `is_deleted` = ? order by `name` asc","modes":["explain"],"hash":"b06801a77e152ac32caa6df7bf873a3bd39ea296de71d915c77f19bc6da94265"},"start_percent":90.264,"width_percent":1.724},{"sql":"select * from `schools` where `id` = 4 limit 1","type":"query","params":[4],"backtrace":[{"index":14,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":76},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":21,"namespace":"view","name":"staff.applications.index","file":"C:\\xampp\\htdocs\\school-erp\\resources\\views\/staff\/applications\/index.blade.php","line":284}],"start":1787575263.671536,"duration":0.0005600000000000001,"duration_str":"560\u03bcs","slow":false,"filename":"AppServiceProvider.php:76","source":{"index":14,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":76},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=76","ajax":false,"filename":"AppServiceProvider.php","line":"76","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select * from `schools` where `id` = ? limit 1","modes":["explain"],"hash":"ab4f55a89c76f0427038427d1a1e573f9ccba0aa1b01402fc6eb337e41eb984e"},"start_percent":91.988,"width_percent":1.893},{"sql":"select `sa`.`class_id` from `school_staff_assignments` as `sa` inner join `school_classes` as `c` on `sa`.`class_id` = `c`.`id` where `sa`.`staff_id` = 3 and `c`.`school_id` = 4","type":"query","params":[3,4],"backtrace":[{"index":13,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":95},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":20,"namespace":"view","name":"staff.applications.index","file":"C:\\xampp\\htdocs\\school-erp\\resources\\views\/staff\/applications\/index.blade.php","line":284}],"start":1787575263.67542,"duration":0.00049,"duration_str":"490\u03bcs","slow":false,"filename":"AppServiceProvider.php:95","source":{"index":13,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":95},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=95","ajax":false,"filename":"AppServiceProvider.php","line":"95","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select `sa`.`class_id` from `school_staff_assignments` as `sa` inner join `school_classes` as `c` on `sa`.`class_id` = `c`.`id` where `sa`.`staff_id` = ? and `c`.`school_id` = ?","modes":["explain"],"hash":"6e1de7af7498423d7e082981a734838f07e8b4775aa31ded2787773f47b2cf44"},"start_percent":93.881,"width_percent":1.657},{"sql":"select `conversation_id` from `school_conversation_participants` where `user_id` = 3 and `role` = 'staff'","type":"query","params":[3,"staff"],"backtrace":[{"index":13,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":101},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":20,"namespace":"view","name":"staff.applications.index","file":"C:\\xampp\\htdocs\\school-erp\\resources\\views\/staff\/applications\/index.blade.php","line":284}],"start":1787575263.679053,"duration":0.00047,"duration_str":"470\u03bcs","slow":false,"filename":"AppServiceProvider.php:101","source":{"index":13,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":101},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=101","ajax":false,"filename":"AppServiceProvider.php","line":"101","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select `conversation_id` from `school_conversation_participants` where `user_id` = ? and `role` = ?","modes":["explain"],"hash":"b9bd3c02e6ab0046271693c5364407e27b22634ef3f402ab8bd10214d9df9161"},"start_percent":95.538,"width_percent":1.589},{"sql":"select `c`.`id` from `school_conversations` as `c` inner join `school_conversation_participants` as `p` on `c`.`id` = `p`.`conversation_id` inner join `students` as `s` on `p`.`user_id` = `s`.`id` where `c`.`school_id` = 4 and `p`.`role` = 'student' and `s`.`class_id` in (3, 1, 1, 2, 2, 2) and exists (select 1 from `school_conversation_participants` as `p_staff` where `p_staff`.`conversation_id` = `c`.`id` and `p_staff`.`user_id` = 3 and `p_staff`.`role` = 'staff')","type":"query","params":[4,"student",3,1,1,2,2,2,3,"staff"],"backtrace":[{"index":13,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":119},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Concerns\/ManagesEvents.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Concerns\\ManagesEvents.php","line":178},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":189},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"C:\\xampp\\htdocs\\school-erp\\vendor\\laravel\\framework\\src\\Illuminate\\View\\View.php","line":160},{"index":20,"namespace":"view","name":"staff.applications.index","file":"C:\\xampp\\htdocs\\school-erp\\resources\\views\/staff\/applications\/index.blade.php","line":284}],"start":1787575263.683731,"duration":0.00085,"duration_str":"850\u03bcs","slow":false,"filename":"AppServiceProvider.php:119","source":{"index":13,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":119},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=119","ajax":false,"filename":"AppServiceProvider.php","line":"119","path":"\\app\\Providers\\AppServiceProvider.php"},"connection":"school_erp","explain":{"url":"http:\/\/127.0.0.1:8000\/_debugbar\/queries\/explain","driver":"mysql","connection":"mysql","query":"select `c`.`id` from `school_conversations` as `c` inner join `school_conversation_participants` as `p` on `c`.`id` = `p`.`conversation_id` inner join `students` as `s` on `p`.`user_id` = `s`.`id` where `c`.`school_id` = ? and `p`.`role` = ? and `s`.`class_id` in (?, ?, ?, ?, ?, ?) and exists (select 1 from `school_conversation_participants` as `p_staff` where `p_staff`.`conversation_id` = `c`.`id` and `p_staff`.`user_id` = ? and `p_staff`.`role` = ?)","modes":["explain"],"hash":"d413e1594f42cce41b12d0aef1596ca1e148d2578395a9e7ef2da6fc0a9f2f39"},"start_percent":97.126,"width_percent":2.874}]},"models":{"data":[],"count":0,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":[]},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"jobs":{"data":[],"count":0,"key_map":{"value":"Count"},"is_counter":true},"http_client":{"nb_requests":0,"requests":[]},"time":{"count":8,"start":1787575263.27931,"end":1787575263.700271,"duration":0.4209609031677246,"duration_str":"421ms","measures":[{"label":"Booting","start":1787575263.27931,"relative_start":0,"end":1787575263.522292,"relative_end":1787575263.522292,"duration":0.2429819107055664,"duration_str":"243ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1787575263.52231,"relative_start":0.24300003051757812,"end":1787575263.700274,"relative_end":3.0994415283203125e-6,"duration":0.1779639720916748,"duration_str":"178ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1787575263.569559,"relative_start":0.2902491092681885,"end":1787575263.574731,"relative_end":1787575263.574731,"duration":0.005172014236450195,"duration_str":"5.17ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1787575263.66472,"relative_start":0.3854100704193115,"end":1787575263.689331,"relative_end":1787575263.689331,"duration":0.02461099624633789,"duration_str":"24.61ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"staff.applications.index","start":1787575263.667059,"relative_start":0.38774895668029785,"end":1787575263.667059,"relative_end":1787575263.667059,"duration":0,"duration_str":"0\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":"views","group":"Views"},{"label":"pagination::tailwind","start":1787575263.670679,"relative_start":0.391369104385376,"end":1787575263.670679,"relative_end":1787575263.670679,"duration":0,"duration_str":"0\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":"views","group":"Views"},{"label":"staff.layouts.app","start":1787575263.688027,"relative_start":0.40871691703796387,"end":1787575263.688027,"relative_end":1787575263.688027,"duration":0,"duration_str":"0\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":"views","group":"Views"},{"label":"Preparing Response","start":1787575263.690863,"relative_start":0.41155290603637695,"end":1787575263.690934,"relative_end":1787575263.690934,"duration":7.104873657226562e-5,"duration_str":"71\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"cache":{"count":0,"start":1787575263.279011,"end":1787575263.700313,"duration":0.42130208015441895,"duration_str":"421ms","measures":[],"nb_measures":0}}