Employee self-service
Employee self-service is the employee-facing HR experience for viewing personal work data, using HR services, sending requests, following approvals, and reading payroll information. It connects a signed-in employee to the records and decisions that affect that employee, while keeping managers and HR involved where review or approval is needed. The Employee portal application page describes the application that delivers this experience.
Employee identity and personal data
The experience starts with a signed-in user and its linked active Employee record. The portal checks this link before it opens an employee view, so the user sees personal data rather than a broad HR view. The profile groups employee, company, contact, and salary information, and refreshes when the Employee record changes.
Account access
Account access uses the signed-in session and the current employee context. A user without a matching employee record is sent to an invalid-employee view instead of receiving employee services. The main layout keeps the profile and notification entry points available across the portal. References: frontend/…/main.js• L117-151, frontend/…/BaseLayout.vue• L1-67
Profile information
The profile gives the employee a focused view of work and pay data. It presents employee details, company information, contact information, and salary information, then refreshes when the linked Employee record changes. References: frontend/…/Profile.vue• L45-69, frontend/…/Profile.vue• L153-214, frontend/…/Profile.vue• L236-307, frontend/…/FormattedField.vue• L1-57
HR service access
Self-service groups common HR work around the employee’s own records. Each service combines personal data with policy data such as leave balance, holiday dates, active shifts, or an assigned approver.
| Service area | Employee outcome |
|---|---|
| Personal work data | The employee sees identity, organization, reporting, contact, and payroll-related information linked to the account. |
| Attendance | The employee reviews attendance and holidays, records mobile check-ins and check-outs when enabled, can share location when that option is enabled, and asks for corrections or work-from-home or on-duty attendance. |
| Leave | The employee checks leave types and balances, submits and tracks leave applications, and can request compensatory leave when that service is enabled. |
| Shifts | The employee views upcoming shift assignments and requests a different shift for a date range. The history view can also show team requests when the user has access. |
| Expenses and advances | The employee submits expense claims and sees claim totals and remaining employee advance balances. Claim history can be filtered by approval and payment state. |
| Other HR requests | The employee can use records such as travel requests and employee grievances when the organization enables those services. |
| Notifications | The employee reads personal updates, opens the related record, marks notifications as read, and can use browser or device push notifications when enabled. |
| Payroll information | The employee reads salary slips by period, reviews earnings and deductions, and downloads a salary slip as a PDF. |
The employee sees only the personal side of these services. The same records can move into manager or HR views for review, approval, attendance updates, reimbursement, or case resolution. Workforce management explains the attendance and shift systems behind these employee services.
Attendance and check-ins
Attendance self-service joins the calendar, recent requests, and upcoming shifts. When mobile check-in is enabled, the employee records the next check-in or check-out from the latest log. When location tracking is enabled, the confirmation view can include the current browser location. References: frontend/…/CheckInPanel.vue• L7-75, frontend/…/CheckInPanel.vue• L99-122, frontend/…/CheckInPanel.vue• L139-217, frontend/…/AttendanceRequestForm.vue• L35-114, frontend/…/requestSummaryFields.js• L121-157
Leave balances and requests
Leave self-service shows balances by leave type and links those balances to leave history. The employee can request leave for a selected period, choose an available type, see the expected balance and approver, and track the result. The form also supports half-day dates and file attachments when the request needs them. References: frontend/…/LeaveBalance.vue• L1-43, frontend/…/leaves.js• L14-73, frontend/…/Dashboard.vue• L1-44, frontend/…/Form.vue• L60-117, frontend/…/Form.vue• L211-321, frontend/…/List.vue• L1-60, hrms/…/leave_application.py• L103-185
Compensatory leave requests
Compensatory leave gives an employee a separate request path for leave earned from work on eligible days. The employee selects an allowed leave type, work dates, and any half-day date, then follows the request status in a list that can also show team requests for an approver. References: frontend/…/Home.vue• L29-64, frontend/…/leaves.js• L1-17, frontend/…/CompensatoryLeaveRequestForm.vue• L24-91, frontend/…/CompensatoryLeaveRequestList.vue• L1-35, frontend/…/CompensatoryLeaveRequestItem.vue• L1-58, frontend/…/ListView.vue• L193-202
Request lists and detail views
Request lists keep employee records separate from team records when the user has approval access. They filter out cancelled records, support more data as the employee scrolls, and refresh after a record changes. A detail view shows status, permitted fields, attachments, and available actions instead of giving every employee the same edit rights. References: frontend/…/ListView.vue• L47-129, frontend/…/ListView.vue• L227-285, frontend/…/ListView.vue• L352-406, frontend/…/ListItem.vue• L1-36, frontend/…/LeaveRequestItem.vue• L1-60, frontend/…/RequestActionSheet.vue• L21-145
Request and approval flows
Requests are employee actions that create a trackable HR record. The record validates dates, balance, overlap, active status, and policy limits before it can affect attendance, leave, payment, or another work record.
The request lifecycle connects the employee view with the approver view and returns the decision to the employee. Shared form behavior gives the employee a consistent path to edit a draft, attach files, save, submit, cancel, or follow a workflow when the record permits those actions.
This diagram shows how an employee action becomes an approved or rejected HR result and then returns to the employee view.
flowchart LR
A[Signed-in employee] --> B[Select HR service]
B --> C[Load personal data and policy context]
C --> D[Create or edit request]
D --> E[Save or submit]
E --> F[Validate request]
F --> G[Approver or HR review]
G --> H{Decision}
H -->|Approved| I[Update related HR record]
H -->|Rejected| J[Keep request outcome]
I --> K[Employee status and notification]
J --> K
Form actions depend on document permissions and workflow state. A request can expose approval, submission, cancellation, deletion, or attachment actions only when the current user and record state allow them. Leave approval also respects the setting that prevents an employee from approving their own leave. References: frontend/…/FormView.vue• L35-60, frontend/…/FormView.vue• L184-217, frontend/…/FormView.vue• L604-641, frontend/…/FormView.vue• L668-735, frontend/…/RequestActionSheet.vue• L75-145, frontend/…/RequestActionSheet.vue• L257-279
Notifications and updates
Notifications keep the employee view aligned with decisions made outside the employee’s session. The system shows unread or all personal notifications, supports paging, marks one or all records as read, and routes a notification to its related document.
Approval events for leave, expense, and shift requests can reach the employee through the in-app list and through browser or device push notifications when push delivery is configured. The employee can enable or disable push delivery in Settings when the site supports it. The portal also refreshes personal lists after record changes, including check-in history and profile data. References: frontend/…/BaseLayout.vue• L12-35, frontend/…/Notifications.vue• L17-96, frontend/…/Notifications.vue• L113-170, frontend/…/AppSettings.vue• L47-67, frontend/…/AppSettings.vue• L87-173, frontend/…/main.js• L61-95, frontend/…/CheckInPanel.vue• L206-218, frontend/…/Profile.vue• L295-307, hrms/…/__init__.py• L110-136, hrms/…/pwa_notifications.py• L7-50
Payroll information
Payroll self-service turns completed payroll work into employee-readable information. A salary slip brings together earnings, deductions, tax values, payment dates, leave details, and net pay for a payroll period. The employee view groups these values into readable sections and provides a PDF download for the slip. A submitted slip can notify the linked employee, and payroll settings can also send the slip by email. Payroll management covers the payroll process that produces these results.
Employees can also provide payroll inputs during the relevant period. Benefit applications use the employee’s assigned salary structure and enforce the allowed benefit amount. Tax exemption declarations record planned claims, while proof submissions record the supporting amounts and files that payroll can use later. References: frontend/…/Detail.vue• L1-41, frontend/…/Detail.vue• L71-167, frontend/…/SalaryDetailTable.vue• L1-71, frontend/…/FormView.vue• L317-340, frontend/…/FormView.vue• L725-732, hrms/…/salary_slip.py• L68-149, hrms/…/salary_slip.py• L227-301, hrms/…/salary_slip.py• L347-354, hrms/…/employee_benefit_application.py• L43-119, hrms/…/employee_tax_exemption_declaration.py• L44-102, hrms/…/employee_tax_exemption_proof_submission.py• L44-80
Portal access and device use
The portal presents the same employee services in a small-screen web layout and can be installed as a progressive web app. Its account screens support password changes and password reset, while device support covers optional push notifications and an install prompt. References: frontend/…/Home.vue• L1-66, frontend/…/ChangePassword.vue• L19-121, frontend/…/ForgotPassword.vue• L19-115, frontend/…/InstallPrompt.vue• L1-103, frontend/…/main.css• L1-36
Related systems
Employee self-service is the employee view across several HR domains rather than a separate source of HR truth. Use the linked pages to follow each domain beyond the employee’s actions:
- Employee portal application — employee-facing application behavior and navigation.
- Workforce management — attendance, shifts, and work-time decisions.
- Payroll management — payroll periods, calculations, salary slips, benefits, and tax work.
- Roster scheduling — roster and schedule context that supports shift planning.
- Platform integration and operations — shared platform and operational context for connected HR services.
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the account-to-active-employee link aligned with every personal endpoint, profile group, and personal list.
- Keep request status names and approver fields aligned between employee lists, approval views, workflow actions, and notification messages.
- Keep changes to leave or attendance requests aligned with the records they create, update, or cancel.
- Keep mobile check-in settings, location consent, and submitted check-in data aligned with attendance records and location policy.
- Keep leave balance, leave type, half-day, date-range, and compensatory-leave rules aligned between forms, list summaries, and the leave ledger.
- Keep expense list filters and form defaults for employee, company, approver, currency, and advances aligned with claim totals and approval rules.
- Keep shared form permission and workflow rules aligned with the fields that employees can edit, submit, cancel, delete, or attach files to.
- Keep salary slip sections, currency labels, PDF download behavior, employee refresh events, and the optional email delivery setting aligned.
- Keep benefit and tax input changes aligned with payroll-period uniqueness and salary-structure limits.
- Keep notification reference document types aligned with detail routes, read-state counts, push payloads, and the configured translation source.
- Keep push settings, service-worker setup, install prompts, and device-specific behavior aligned with the progressive web app experience.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| The signed-in user has no active linked employee | The personal portal cannot resolve an employee context. | Require an active Employee record linked to the user. |
| Mobile check-in is disabled in settings | The employee sees the date but cannot record a check-in or check-out from the panel. | Keep the mobile check-in setting aligned with the intended attendance channel. |
| Location access is enabled but the browser cannot provide a position | The check-in can show a location error or submit without a useful position. | Treat location status as a user-visible condition and keep the location policy clear. |
| A leave request overlaps existing leave or exceeds its balance | The request cannot proceed and no leave ledger change occurs. | Validate dates, balance, overlap, holidays, and active employee status before approval. |
| A half-day request has no valid half-day date | The request has an incomplete or invalid date range. | Show the half-day date only when needed and keep it inside the selected range. |
| An attendance request covers a holiday or approved leave | Attendance is skipped for that date. | Show the date warning before submission and keep the attendance rule on submit. |
| A compensatory leave request uses a non-compensatory leave type | The employee cannot create the earned-leave request as intended. | Limit the leave type choices to compensatory types and keep the server rule aligned. |
| A request is approved without the expected status | The related attendance or shift record is not created as intended. | Allow submission only after an approved or rejected decision. |
| A notification points to an unsupported document route | The employee cannot open the record from the notification. | Keep reference document types mapped to employee detail routes. |
| Push delivery is unavailable or permission is denied | The employee receives in-app updates but no device push alert. | Show the site capability and permission state before enabling the setting. |
| A benefit application exceeds the assigned limit | Payroll input is rejected for that period. | Enforce per-component and total benefit limits. |
| A salary slip is withheld or cancelled | The employee does not have a normal payable result for that period. | Show the slip status and refresh the employee view after status changes. |
| A salary slip PDF request fails | The employee can read the slip but cannot save its document copy. | Preserve the authenticated download request and show a clear download error. |
Key files
| File | Why to read it |
|---|---|
| frontend/…/main.js | Shows the session, employee guard, shared resources, socket, and push setup that start the employee portal. |
| frontend/…/BaseLayout.vue | Shows the common portal header with profile and notification access. |
| frontend/…/Home.vue | Shows the employee home entry points for attendance, leave, expenses, advances, shifts, and salary slips. |
| frontend/…/Profile.vue | Shows the employee-facing profile groups and live refresh behavior. |
| frontend/…/CheckInPanel.vue | Shows mobile check-in and check-out with optional location capture. |
| frontend/…/ListView.vue | Shows personal and team request lists, filters, paging, and live refresh. |
| frontend/…/FormView.vue | Shows the shared employee record experience for fields, permissions, workflows, files, and document actions. |
| frontend/…/RequestActionSheet.vue | Shows request summaries and status actions for approval, submission, and cancellation. |
| frontend/…/Dashboard.vue | Shows leave balance, leave history, holidays, and compensatory leave entry points. |
| frontend/…/Form.vue | Shows leave dates, types, balance, approver, half-day, and attachment behavior. |
| frontend/…/CompensatoryLeaveRequestForm.vue | Shows the employee flow for earned compensatory leave. |
| frontend/…/CompensatoryLeaveRequestList.vue | Shows personal and team compensatory leave request history. |
| frontend/…/Notifications.vue | Shows unread counts, read filters, related-record links, paging, and read actions. |
| frontend/…/AppSettings.vue | Shows password and push-notification settings available to the employee. |
| frontend/…/InstallPrompt.vue | Shows the optional install path for the employee progressive web app. |
| frontend/…/Detail.vue | Shows employee salary slip sections and PDF download. |
| hrms/…/__init__.py | Defines the employee-facing data boundary for identity, attendance, shifts, leave, claims, notifications, and advances. |
| hrms/…/leave_application.py | Shows the leave request lifecycle and its effect on leave and attendance. |
| hrms/…/attendance_request.py | Shows how employee attendance corrections become attendance records. |
| hrms/…/expense_claim.py | Shows the claim approval and reimbursement relationship. |
| hrms/…/shift_request.py | Shows how an approved shift request becomes a shift assignment. |
| hrms/…/salary_slip.py | Shows the employee-facing payroll result and its update signal. |