Leave Request Details
Summary
The broader Leave page opens request details in an in-page modal; ESS has no separate details view.
Audience
Employees, managers, HR administrators, QA, and support.
Overview
- Navigation:
/leave→ Leave Requests → View. - Sections/fields: type and status header; employee, manager, from, to, days, status, reason, and rejection reason.
- Actions: Close; an eligible employee may cancel a Pending request.
- Not displayed: workflow instance/state, technical audit timeline, balance effect, approval actor/timestamp, or cancellation history.
- Filters: none inside the modal.
- Validation/loading: data is already loaded; no separate detail request or loading state exists.
- Empty/error: the modal opens only from a row. Page-level errors remain outside it.
- Permission behavior: action visibility is computed locally; API enforcement is authoritative.
- API dependency: no additional details call; it uses the selected compatibility-list record.
- Screenshot placeholder: sanitized modal with all personal fields redacted.
This modal must not be described as a full business timeline or technical audit view.
Screen reference
| Requirement | Confirmed behavior |
|---|---|
| Purpose | Inspect the selected request summary. |
| Navigation path | /leave → Leave Requests → View. |
| Intended users | Users who can see the underlying row. |
| Preconditions | A request row is already loaded and selected. |
| Main components | LeaveManagementPage details modal and Detail fields. |
| Fields, columns, or sections | Employee, manager, type, dates, days, status, reason, and rejection reason. |
| Filters | None. |
| Actions | Close; eligible Pending self request can expose Cancel. |
| Validation | Cancellation visibility uses status and current employee context. |
| Loading state | None; the modal uses the selected list record. |
| Empty state | None; modal opens only from a row. |
| Success state | Close or successful cancellation followed by reload. |
| Error state | Page-level cancellation error. |
| Permission behavior | Inherits row access; cancellation visibility is a client check only. |
| API dependencies | No details request; cancellation uses the compatibility operation when invoked. |
| Related business rules | Request status and Pending self-cancellation. Workflow/timeline/balance effect are not displayed. |
| Screenshot placeholder | Sanitized modal with every personal field redacted. |
Source References
UI/salary-ui/apps/client-hrms-portal/src/pages/hr/PayrollFeaturePages.tsx
Related Articles
See Also
Keywords
- Leave UI
- Leave Request Details
- Workforce management
Revision Information
- Status: Draft
- Last reviewed: 2026-07-15
- Review cycle: Quarterly