{"__meta":{"id":"01M92HAG4C4T5GTH2TFSNJ7X2D","tabUuid":null,"batchId":null,"timestamp":"2026-12-05T07:22:30.415Z","utime":1796455350.415003,"method":"GET","url":"http://rajukuttara.localhost:8000/teacher/leaves","component":"Tenant/Leaves/Index","requestType":"navigate","status":200,"redirectLocation":null,"serverTimingMs":100.4654,"visitId":null},"http":{"requestHeaders":{"host":"rajukuttara.localhost:8000","connection":"keep-alive","sec-ch-ua-platform":"\"Windows\"","x-xsrf-token":"[REDACTED]","x-inertia-version":"e24e252a91f3d6dc8e37262561e6fe97","sec-ch-ua":"\"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"150\"","x-inertia":"true","sec-ch-ua-mobile":"?0","x-requested-with":"XMLHttpRequest","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.149.0 Chrome/150.0.7871.250 Electron/43.8.13 Safari/537.36","accept":"text/html, application/xhtml+xml","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"http://rajukuttara.localhost:8000/teacher/leaves","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US","cookie":"[REDACTED]"},"responseHeaders":{"x-inertia":"true","cache-control":"no-cache, private","date":"Sat, 05 Dec 2026 07:22:30 GMT","content-type":"application/json","vary":"X-Inertia","x-inertia-devtools-id":"01M92HAG4C4T5GTH2TFSNJ7X2D","x-inertia-devtools-parent-out":"01M92HAG4C4T5GTH2TFSNJ7X2D"},"requestBody":{"status":"empty"},"responseBody":{"status":"present","value":{"component":"Tenant/Leaves/Index","props":{"errors":[],"auth":{"user":{"id":168,"name":"Test Teacher One","email":"teacher.one@rajukuttara.test","avatar":"/images/avatars/avatar-1.webp","user_type":"teacher","roles":["teacher"],"permissions":["view_dashboard","view_routines","view_students","manage_attendance","view_attendance","view_exams","manage_marks","view_marks","view_notices","view_library","view_cards"],"tour_completed":true}},"tenant":{"id":"rajukuttara","name":"Rajuk Uttara Model College","domain":"rajukuttara.localhost","frontend_url":"http://rajukuttara.localhost:8000/","logo":null,"backend_logo":null,"favicon":null,"backend_favicon":null},"central_branding":null,"theme":{"scope":"backend","tenant_id":"rajukuttara","active_color":"emerald","backend_color":"emerald","frontend_color":"emerald","frontend_raw_color":"emerald","frontend_sync_with_backend":true,"frontend_layout":"modern","can_manage":false,"save_url":"/settings/theme"},"pending_admissions_count":0,"unread_notifications_count":1,"flash":{"success":"Leave application submitted successfully.","error":null,"warning":null,"info":null,"status":null,"otpSent":null,"demoOtp":null,"email":null},"leaves":{"current_page":1,"data":[{"id":2,"applicant_type":"staff","user_id":168,"student_id":null,"leave_type":"casual","start_date":"2026-12-06T00:00:00.000000Z","end_date":"2026-12-06T00:00:00.000000Z","days_count":1,"reason":"UI acceptance test - teacher leave application","attachment_path":null,"status":"pending","approved_by":null,"action_at":null,"admin_remarks":null,"created_at":"2026-12-05T07:22:28.000000Z","updated_at":"2026-12-05T07:22:28.000000Z","deleted_at":null,"tenant_id":"rajukuttara","user":{"id":168,"name":"Test Teacher One","email":"teacher.one@rajukuttara.test","google_id":null,"email_verified_at":null,"user_type":"teacher","phone":"+8801700000011","avatar":"/images/avatars/avatar-1.webp","google_avatar":null,"status":"active","is_active":1,"tour_completed_at":"2026-12-05T07:19:59.000000Z","tenant_id":"rajukuttara","tenant_scope_id":"rajukuttara","deleted_at":null,"created_at":"2026-12-05T07:07:06.000000Z","updated_at":"2026-12-05T07:19:59.000000Z"},"student":null,"approver":null}],"first_page_url":"http://rajukuttara.localhost:8000/teacher/leaves?page=1","from":1,"last_page":1,"last_page_url":"http://rajukuttara.localhost:8000/teacher/leaves?page=1","links":[{"url":null,"label":"&laquo; Previous","page":null,"active":false},{"url":"http://rajukuttara.localhost:8000/teacher/leaves?page=1","label":"1","page":1,"active":true},{"url":null,"label":"Next &raquo;","page":null,"active":false}],"next_page_url":null,"path":"http://rajukuttara.localhost:8000/teacher/leaves","per_page":10,"prev_page_url":null,"to":1,"total":1},"stats":{"total":1,"pending":1,"approved":0,"rejected":0,"staff_leaves":1,"student_leaves":0},"filters":[],"isAdmin":false,"basePath":"/teacher/leaves"},"url":"/teacher/leaves","version":"e24e252a91f3d6dc8e37262561e6fe97","sharedProps":["errors","auth","tenant","central_branding","theme","pending_admissions_count","unread_notifications_count","flash"]}}},"props":{"errors":{"shared":true,"inertiaType":"always","shareSource":{"file":"C:\\laragon\\www\\school-management\\vendor\\inertiajs\\inertia-laravel\\src\\Middleware.php","line":75}},"auth":{"shared":true,"inertiaType":null,"shareSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Middleware\\HandleInertiaRequests.php","line":118}},"tenant":{"shared":true,"inertiaType":null,"shareSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Middleware\\HandleInertiaRequests.php","line":130}},"central_branding":{"shared":true,"inertiaType":null,"shareSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Middleware\\HandleInertiaRequests.php","line":140}},"theme":{"shared":true,"inertiaType":null,"shareSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Middleware\\HandleInertiaRequests.php","line":141}},"pending_admissions_count":{"shared":true,"inertiaType":null,"shareSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Middleware\\HandleInertiaRequests.php","line":142}},"unread_notifications_count":{"shared":true,"inertiaType":null,"shareSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Middleware\\HandleInertiaRequests.php","line":151}},"flash":{"shared":true,"inertiaType":null,"shareSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Middleware\\HandleInertiaRequests.php","line":157}},"leaves":{"shared":false,"inertiaType":null,"renderSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Controllers\\Tenant\\LeaveController.php","line":86}},"stats":{"shared":false,"inertiaType":null,"renderSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Controllers\\Tenant\\LeaveController.php","line":87}},"filters":{"shared":false,"inertiaType":null,"renderSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Controllers\\Tenant\\LeaveController.php","line":88}},"isAdmin":{"shared":false,"inertiaType":null,"renderSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Controllers\\Tenant\\LeaveController.php","line":89}},"basePath":{"shared":false,"inertiaType":null,"renderSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Controllers\\Tenant\\LeaveController.php","line":90}}},"propValues":{"errors":[],"auth":{"user":{"id":168,"name":"Test Teacher One","email":"teacher.one@rajukuttara.test","avatar":"/images/avatars/avatar-1.webp","user_type":"teacher","roles":["teacher"],"permissions":["view_dashboard","view_routines","view_students","manage_attendance","view_attendance","view_exams","manage_marks","view_marks","view_notices","view_library","view_cards"],"tour_completed":true}},"tenant":{"id":"rajukuttara","name":"Rajuk Uttara Model College","domain":"rajukuttara.localhost","frontend_url":"http://rajukuttara.localhost:8000/","logo":null,"backend_logo":null,"favicon":null,"backend_favicon":null},"central_branding":null,"theme":{"scope":"backend","tenant_id":"rajukuttara","active_color":"emerald","backend_color":"emerald","frontend_color":"emerald","frontend_raw_color":"emerald","frontend_sync_with_backend":true,"frontend_layout":"modern","can_manage":false,"save_url":"/settings/theme"},"pending_admissions_count":0,"unread_notifications_count":1,"flash":{"success":"Leave application submitted successfully.","error":null,"warning":null,"info":null,"status":null,"otpSent":null,"demoOtp":null,"email":null},"leaves":{"current_page":1,"data":[{"id":2,"applicant_type":"staff","user_id":168,"student_id":null,"leave_type":"casual","start_date":"2026-12-06T00:00:00.000000Z","end_date":"2026-12-06T00:00:00.000000Z","days_count":1,"reason":"UI acceptance test - teacher leave application","attachment_path":null,"status":"pending","approved_by":null,"action_at":null,"admin_remarks":null,"created_at":"2026-12-05T07:22:28.000000Z","updated_at":"2026-12-05T07:22:28.000000Z","deleted_at":null,"tenant_id":"rajukuttara","user":{"id":168,"name":"Test Teacher One","email":"teacher.one@rajukuttara.test","google_id":null,"email_verified_at":null,"user_type":"teacher","phone":"+8801700000011","avatar":"/images/avatars/avatar-1.webp","google_avatar":null,"status":"active","is_active":1,"tour_completed_at":"2026-12-05T07:19:59.000000Z","tenant_id":"rajukuttara","tenant_scope_id":"rajukuttara","deleted_at":null,"created_at":"2026-12-05T07:07:06.000000Z","updated_at":"2026-12-05T07:19:59.000000Z"},"student":null,"approver":null}],"first_page_url":"http://rajukuttara.localhost:8000/teacher/leaves?page=1","from":1,"last_page":1,"last_page_url":"http://rajukuttara.localhost:8000/teacher/leaves?page=1","links":[{"url":null,"label":"&laquo; Previous","page":null,"active":false},{"url":"http://rajukuttara.localhost:8000/teacher/leaves?page=1","label":"1","page":1,"active":true},{"url":null,"label":"Next &raquo;","page":null,"active":false}],"next_page_url":null,"path":"http://rajukuttara.localhost:8000/teacher/leaves","per_page":10,"prev_page_url":null,"to":1,"total":1},"stats":{"total":1,"pending":1,"approved":0,"rejected":0,"staff_leaves":1,"student_leaves":0},"filters":[],"isAdmin":false,"basePath":"/teacher/leaves"},"route":{"name":"tenant.teacher.leaves.index","uri":"/teacher/leaves","action":"App\\Http\\Controllers\\Tenant\\LeaveController@index","actionSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Controllers\\Tenant\\LeaveController.php","line":35}},"renderSource":{"file":"C:\\laragon\\www\\school-management\\app\\Http\\Controllers\\Tenant\\LeaveController.php","line":85},"componentPath":"C:\\laragon\\www\\school-management\\resources\\js\\Pages/Tenant/Leaves/Index.vue"}