{"__meta":{"id":"01M0SVZ75DAWGX94WABEFJX5J2","datetime":"2026-08-24 17:59:50","utime":1787574590.637958,"method":"GET","uri":"\/school\/chanakaya-international-school\/staff\/applications","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":[],"request_request":[],"request_files":[],"request_headers":{"host":["127.0.0.1:8000"],"connection":["keep-alive"],"sec-ch-ua":["\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";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 Edg\/151.0.0.0"],"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\/10"],"accept-encoding":["gzip, deflate, br, zstd"],"accept-language":["en-US,en;q=0.9"],"cookie":["PHPDEBUGBAR_STACK_DATA=%5B%5D; XSRF-TOKEN=eyJpdiI6IisvZWdaYVl2QTZNU0Vaay9NWHZNb0E9PSIsInZhbHVlIjoidlVtZVFJWkdLNHo0dG9JNDU0ZTl4UVN4R1JDOE9aWkx4U2dEOXN3OU9aa2Vlb3VUdWp0NUpqZUo2dVJEL3Z1ZjFiSUs2Q2tpOTVDZ1luZGF3V3BrQ2N5bkUycFhhWHMyVlR6dzRQMzNFbDBFTkp5TWxaODVnaW1FRWNueUl0bzgiLCJtYWMiOiJkYzVjZjBiMWZhODI1OTU2ZTRmNzcyZGNjODViYjhmMGVmZGY1OGM1NzUyYTZiZmI1Yjc1ODAwZWFjY2JiNWRiIiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6IkZLTkdNbS9pWHVkVm85WGZYa3hHMEE9PSIsInZhbHVlIjoiOTlJMjdJU1dwSHEveVlMUmJVZkVPRHZraXRMU1B1VW56aFNQQ09ieHVSRWVvWlFUdzdEK0haMnJaNzZEbnVNcjI3YTVGREp3eVNzUFJEaTFsL0QvbmgrdzB0c1U1UVJ4ZG5DWE1MNHVBUWpxS3RpSlJ4Zi9rTzg5cDhHM1o3K3AiLCJtYWMiOiIyOWZkNDQ4NzA4YTYyZWZkMTA1NWYxYzZlNzc5NjJhNzE0NWFmYWFkMzI2YjY3YjI2OTkxNDhlNjVjYzFhMTFhIiwidGFnIjoiIn0%3D"]},"request_server":{"DOCUMENT_ROOT":"C:\\xampp\\htdocs\\school-erp\\public","REMOTE_ADDR":"127.0.0.1","REMOTE_PORT":"58756","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","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","HTTP_HOST":"127.0.0.1:8000","HTTP_CONNECTION":"keep-alive","HTTP_SEC_CH_UA":"\"Not=A?Brand\";v=\"99\", \"Microsoft Edge\";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 Edg\/151.0.0.0","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\/10","HTTP_ACCEPT_ENCODING":"gzip, deflate, br, zstd","HTTP_ACCEPT_LANGUAGE":"en-US,en;q=0.9","HTTP_COOKIE":"PHPDEBUGBAR_STACK_DATA=%5B%5D; XSRF-TOKEN=eyJpdiI6IisvZWdaYVl2QTZNU0Vaay9NWHZNb0E9PSIsInZhbHVlIjoidlVtZVFJWkdLNHo0dG9JNDU0ZTl4UVN4R1JDOE9aWkx4U2dEOXN3OU9aa2Vlb3VUdWp0NUpqZUo2dVJEL3Z1ZjFiSUs2Q2tpOTVDZ1luZGF3V3BrQ2N5bkUycFhhWHMyVlR6dzRQMzNFbDBFTkp5TWxaODVnaW1FRWNueUl0bzgiLCJtYWMiOiJkYzVjZjBiMWZhODI1OTU2ZTRmNzcyZGNjODViYjhmMGVmZGY1OGM1NzUyYTZiZmI1Yjc1ODAwZWFjY2JiNWRiIiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6IkZLTkdNbS9pWHVkVm85WGZYa3hHMEE9PSIsInZhbHVlIjoiOTlJMjdJU1dwSHEveVlMUmJVZkVPRHZraXRMU1B1VW56aFNQQ09ieHVSRWVvWlFUdzdEK0haMnJaNzZEbnVNcjI3YTVGREp3eVNzUFJEaTFsL0QvbmgrdzB0c1U1UVJ4ZG5DWE1MNHVBUWpxS3RpSlJ4Zi9rTzg5cDhHM1o3K3AiLCJtYWMiOiIyOWZkNDQ4NzA4YTYyZWZkMTA1NWYxYzZlNzc5NjJhNzE0NWFmYWFkMzI2YjY3YjI2OTkxNDhlNjVjYzFhMTFhIiwidGFnIjoiIn0%3D","REQUEST_TIME_FLOAT":1787574590.227645,"REQUEST_TIME":1787574590},"request_cookies":{"PHPDEBUGBAR_STACK_DATA":"**","XSRF-TOKEN":"NA***cA","laravel-session":"Y0Pba045puMJzt76RxGnHEVEKbYIpD1xnAqOh6dK"},"request_attributes":[],"route":"","response_headers":{"content-type":["text\/html; charset=utf-8"],"cache-control":["no-cache, private"],"date":["Mon, 24 Aug 2026 12:29:50 GMT"],"set-cookie":["XSRF-TOKEN=eyJpdiI6ImI1YkpJdlRkaDRmdzNsMzZVVVUxL1E9PSIsInZhbHVlIjoiZnIzYVRGZlRGQTZrd3NnRWVycXBKZE0yZWtXQ1RsTXNkdmV3aUtsQmNQSnhGTTJycGY5VzNiSmo4UU1ib2w5WVNaMXlwaHplaVdBb3pPc3pLTFd0VDVPWHk4b0xOdjZoQVhYaEM5S0VmQkd3elkrVElUWHo1V1h4MU1ndXNzRm4iLCJtYWMiOiJkNDlhMTQyZjg4NzI5OWRkNDg4YTIxY2FiZTFlZTI4NTZlY2RlZmJkNTJhNzYwYzY0ZTU2NGM3MDMyMWQ5NjRkIiwidGFnIjoiIn0%3D; expires=Mon, 24 Aug 2026 14:29:50 GMT; Max-Age=7200; path=\/; samesite=lax","laravel-session=eyJpdiI6IjNLSVhsVjZIYWJoTjk0NElTSExKWlE9PSIsInZhbHVlIjoiejFOS2dGZGtTZTEvRkxhWHB3NktKbStCRzdhNTJzVHZYQVZQeVhBdEp3UjBLTVRsRFVNdVJFYnBEdnR0SEhncUVLbWZLeGZiU21PYlAvcWxHL1dzb0JST1ZyUElpRUJFVStidXo5dm9iTlVPUXl5blZNY2JXOHE3R3I2UkN6QVYiLCJtYWMiOiI2NTViMmFiMWJmNjA0ZTBlOTliMmI3ZGIwOGMyODU2OTcwMDQxODIzNjY2ZTMwMDE0NDE5ZGZiMzA5ZmE3NTZiIiwidGFnIjoiIn0%3D; expires=Mon, 24 Aug 2026 14:29:50 GMT; Max-Age=7200; path=\/; httponly; samesite=lax"]},"response_cookies":["XSRF-TOKEN=eyJpdiI6ImI1YkpJdlRkaDRmdzNsMzZVVVUxL1E9PSIsInZhbHVlIjoiZnIzYVRGZlRGQTZrd3NnRWVycXBKZE0yZWtXQ1RsTXNkdmV3aUtsQmNQSnhGTTJycGY5VzNiSmo4UU1ib2w5WVNaMXlwaHplaVdBb3pPc3pLTFd0VDVPWHk4b0xOdjZoQVhYaEM5S0VmQkd3elkrVElUWHo1V1h4MU1ndXNzRm4iLCJtYWMiOiJkNDlhMTQyZjg4NzI5OWRkNDg4YTIxY2FiZTFlZTI4NTZlY2RlZmJkNTJhNzYwYzY0ZTU2NGM3MDMyMWQ5NjRkIiwidGFnIjoiIn0%3D; expires=Mon, 24-Aug-2026 14:29:50 GMT; path=\/","laravel-session=eyJpdiI6IjNLSVhsVjZIYWJoTjk0NElTSExKWlE9PSIsInZhbHVlIjoiejFOS2dGZGtTZTEvRkxhWHB3NktKbStCRzdhNTJzVHZYQVZQeVhBdEp3UjBLTVRsRFVNdVJFYnBEdnR0SEhncUVLbWZLeGZiU21PYlAvcWxHL1dzb0JST1ZyUElpRUJFVStidXo5dm9iTlVPUXl5blZNY2JXOHE3R3I2UkN6QVYiLCJtYWMiOiI2NTViMmFiMWJmNjA0ZTBlOTliMmI3ZGIwOGMyODU2OTcwMDQxODIzNjY2ZTMwMDE0NDE5ZGZiMzA5ZmE3NTZiIiwidGFnIjoiIn0%3D; expires=Mon, 24-Aug-2026 14:29:50 GMT; path=\/; httponly"],"session_metadata":[],"session_attributes":{"_token":"NA***cA","_previous":{"url":"http:\/\/127.0.0.1:8000\/school\/chanakaya-international-school\/staff\/applications","route":"staff.applications.index"},"_flash":{"old":[],"new":[]},"staff_id":7,"staff_employee_code":"EMP-007","staff_school_id":4,"staff_school_slug":"chanakaya-international-school","user_role":"staff","user_name":"BARINDER KAUR"},"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","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":27229592,"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":1787574590.603915,"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":1787574590.608531,"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":1787574590.632872,"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":14,"nb_statements":13,"nb_visible_statements":14,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.03123,"accumulated_duration_str":"31.23ms","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":1787574590.535091,"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` = 7 limit 1","type":"query","params":[7],"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":1787574590.539835,"duration":0.020329999999999997,"duration_str":"20.33ms","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":"b5dfab628d5bd2451489b658caaad01d67f4adee7bd6e14c6eff45d6056c343b"},"start_percent":0,"width_percent":65.098},{"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":1787574590.56386,"duration":0.00055,"duration_str":"550\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":65.098,"width_percent":1.761},{"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":1787574590.5677,"duration":0.00039,"duration_str":"390\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":66.859,"width_percent":1.249},{"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":1787574590.571317,"duration":0.00038,"duration_str":"380\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":68.108,"width_percent":1.217},{"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","type":"query","params":[4],"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":1787574590.575991,"duration":0.0005600000000000001,"duration_str":"560\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` = ?","modes":["explain"],"hash":"e711cedf8c9506477d2a4dbf725d89cacb3b406dd0a99a3f2c0185bacfc685be"},"start_percent":69.324,"width_percent":1.793},{"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 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],"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":1787574590.579938,"duration":0.00074,"duration_str":"740\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` = ? 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":"ea90d834d711cfd6f054efaa28e0643409312ce32c19c1a35a258201b1571601"},"start_percent":71.118,"width_percent":2.37},{"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":1787574590.584817,"duration":0.00049,"duration_str":"490\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":73.487,"width_percent":1.569},{"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":1787574590.58954,"duration":0.00128,"duration_str":"1.28ms","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":75.056,"width_percent":4.099},{"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":265}],"start":1787574590.609412,"duration":0.00058,"duration_str":"580\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":79.155,"width_percent":1.857},{"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` = 7 and `c`.`school_id` = 4","type":"query","params":[7,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":265}],"start":1787574590.613256,"duration":0.00061,"duration_str":"610\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":"ca9957b217ffa8199c0747597a00d94d4ef9aa42499b2c73cef9fc78fd2f79cc"},"start_percent":81.012,"width_percent":1.953},{"sql":"select `conversation_id` from `school_conversation_participants` where `user_id` = 7 and `role` = 'staff'","type":"query","params":[7,"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":265}],"start":1787574590.617106,"duration":0.0011200000000000001,"duration_str":"1.12ms","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":"2acb205ee6c72948aa1eec7c2670e86044d872e8a162055103d29a4402691470"},"start_percent":82.965,"width_percent":3.586},{"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 (1, 1, 2, 2, 2, 3, 4, 5, 6) and exists (select 1 from `school_conversation_participants` as `p_staff` where `p_staff`.`conversation_id` = `c`.`id` and `p_staff`.`user_id` = 7 and `p_staff`.`role` = 'staff')","type":"query","params":[4,"student",1,1,2,2,2,3,4,5,6,7,"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":265}],"start":1787574590.6219542,"duration":0.00202,"duration_str":"2.02ms","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":"a226370ebc6a8eaa59c19c3b5812fd0e4b58da4f866bd547525c131076e27902"},"start_percent":86.551,"width_percent":6.468},{"sql":"select count(*) as aggregate from `school_messages` where `conversation_id` in (2, 3, 5, 6) and `sender_id` != 7 and `is_read` = 0","type":"query","params":[2,3,5,6,7,0],"backtrace":[{"index":15,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":130},{"index":19,"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":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":189},{"index":21,"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":22,"namespace":"view","name":"staff.applications.index","file":"C:\\xampp\\htdocs\\school-erp\\resources\\views\/staff\/applications\/index.blade.php","line":265}],"start":1787574590.6275258,"duration":0.00218,"duration_str":"2.18ms","slow":false,"filename":"AppServiceProvider.php:130","source":{"index":15,"namespace":null,"name":"app\/Providers\/AppServiceProvider.php","file":"C:\\xampp\\htdocs\\school-erp\\app\\Providers\\AppServiceProvider.php","line":130},"xdebug_link":{"url":"phpstorm:\/\/open?file=C%3A%2Fxampp%2Fhtdocs%2Fschool-erp%2Fapp%2FProviders%2FAppServiceProvider.php&line=130","ajax":false,"filename":"AppServiceProvider.php","line":"130","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 count(*) as aggregate from `school_messages` where `conversation_id` in (?, ?, ?, ?) and `sender_id` != ? and `is_read` = ?","modes":["explain"],"hash":"9845fbfc6a3bd8bea8ddd688c5d621e7bdcf00b7033dbb04faba5d62e7408d2d"},"start_percent":93.02,"width_percent":6.98}]},"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":1787574590.227934,"end":1787574590.645512,"duration":0.41757822036743164,"duration_str":"418ms","measures":[{"label":"Booting","start":1787574590.227934,"relative_start":0,"end":1787574590.461877,"relative_end":1787574590.461877,"duration":0.23394322395324707,"duration_str":"234ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1787574590.461901,"relative_start":0.23396706581115723,"end":1787574590.645515,"relative_end":2.86102294921875e-6,"duration":0.18361401557922363,"duration_str":"184ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1787574590.508599,"relative_start":0.28066515922546387,"end":1787574590.513961,"relative_end":1787574590.513961,"duration":0.005362033843994141,"duration_str":"5.36ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1787574590.601468,"relative_start":0.3735342025756836,"end":1787574590.634232,"relative_end":1787574590.634232,"duration":0.03276395797729492,"duration_str":"32.76ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"staff.applications.index","start":1787574590.603915,"relative_start":0.37598109245300293,"end":1787574590.603915,"relative_end":1787574590.603915,"duration":0,"duration_str":"0\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":"views","group":"Views"},{"label":"pagination::tailwind","start":1787574590.608531,"relative_start":0.3805971145629883,"end":1787574590.608531,"relative_end":1787574590.608531,"duration":0,"duration_str":"0\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":"views","group":"Views"},{"label":"staff.layouts.app","start":1787574590.632872,"relative_start":0.4049382209777832,"end":1787574590.632872,"relative_end":1787574590.632872,"duration":0,"duration_str":"0\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":"views","group":"Views"},{"label":"Preparing Response","start":1787574590.635776,"relative_start":0.40784215927124023,"end":1787574590.635861,"relative_end":1787574590.635861,"duration":8.487701416015625e-5,"duration_str":"85\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"cache":{"count":0,"start":1787574590.227645,"end":1787574590.645538,"duration":0.4178931713104248,"duration_str":"418ms","measures":[],"nb_measures":0}}