@page "/home"
@using Microsoft.AspNetCore.Authorization
@using Indotalent.Infrastructure.Authorization.Identity
@using Indotalent.Features.Root.Home.Cqrs
@using Indotalent.Features.Root.Home
@attribute [Authorize(Roles = $"{ApplicationRoles.Admin},{ApplicationRoles.Member}")]
@inject HomeService HomeService
@inject IJSRuntime JS
HRM Overview
Total Staff
@_data.TotalStaff.ToString("N0")
FTE: @_data.FteValue.ToString("F2")Avg Cost/Hire
@_data.FormattedAvgCost
@_data.TotalAppraisals appsRetention Rate
@_data.RetentionRate%
↑ StableEngagement
@_data.EngagementRate%
Survey-basedTotal Staff
@_data.TotalStaff.ToString("N0")
Retention
@_data.RetentionRate%
Engagement
@_data.EngagementRate%
Employees
@_data.TotalBranches
Avg Cost/Hire
@_data.FormattedAvgCost
Appraisals
@_data.TotalAppraisals.ToString("N0")
Leave Requests
@_data.TotalLeaveRequests.ToString("N0")
Payroll
@_data.FormattedTotalPayroll
Key indicators across all categories
@item.Title
@item.Sub
Monthly staff count vs new hires
Staff by department
As of @DateTime.Now.ToString("MMMM dd, yyyy")
Total Employees
@_data.TotalStaff.ToString("N0")
Appraisals
@_data.TotalAppraisals.ToString("N0")
Total Payroll
@_data.FormattedTotalPayroll
Performance by category
Top Talent
@_data.TopTalentCount
Core Players
@_data.CorePlayerCount
Low Performance
@_data.LowPerfCount
Active Promotions
@_data.ActivePromotions
By category this period
@lb.Type
Latest salary reviews
| Date | Ref# | Description | Value | Status |
|---|---|---|---|---|
| @deal.Date | @deal.Ref | @deal.Description | @deal.Value | @deal.Status |
| No appraisal data available | ||||
Real-time HR updates
@((MarkupString)(act.Title ?? ""))
@act.Subtitle
@act.TimeAgo
No recent activity
@DateTime.Now.Year performance
@label
This period ranking
@p.Name
KPI: @p.KpiScore
Payroll composition
@stat.Label
@stat.Value
As of @DateTime.Now.ToString("MMM dd, yyyy")
| Employee | Location | Impact |
|---|---|---|
| @tr.EmployeeName | @tr.ToLocation | @tr.ImpactLevel/5 |
| No active transfers | ||
Awaiting approval
| Request ID | Status | Due |
|---|---|---|
| #@lv.TicketId | @lv.Status | @lv.DueInfo |
| No pending leave requests | ||