Skip to main content

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

RequirementConfirmed behavior
PurposeInspect the selected request summary.
Navigation path/leave → Leave Requests → View.
Intended usersUsers who can see the underlying row.
PreconditionsA request row is already loaded and selected.
Main componentsLeaveManagementPage details modal and Detail fields.
Fields, columns, or sectionsEmployee, manager, type, dates, days, status, reason, and rejection reason.
FiltersNone.
ActionsClose; eligible Pending self request can expose Cancel.
ValidationCancellation visibility uses status and current employee context.
Loading stateNone; the modal uses the selected list record.
Empty stateNone; modal opens only from a row.
Success stateClose or successful cancellation followed by reload.
Error statePage-level cancellation error.
Permission behaviorInherits row access; cancellation visibility is a client check only.
API dependenciesNo details request; cancellation uses the compatibility operation when invoked.
Related business rulesRequest status and Pending self-cancellation. Workflow/timeline/balance effect are not displayed.
Screenshot placeholderSanitized modal with every personal field redacted.

Source References

  • UI/salary-ui/apps/client-hrms-portal/src/pages/hr/PayrollFeaturePages.tsx

See Also

Keywords

  • Leave UI
  • Leave Request Details
  • Workforce management

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly