@if (loading()) {
Loading...
} @for (row of rows(); track row.PIPPlanId) { }
EmployeeStart DateEnd DateStatusActions
{{ row.EmployeeId }} {{ row.StartDate | date:'dd MMM yyyy' }} {{ row.EndDate | date:'dd MMM yyyy' }} {{ statusLabel(row.Status) }} @if (row.Status === 1) { }
@if (selectedPlan(); as plan) {

PIP Actions — Employee {{ plan.EmployeeId }}

{{ plan.Reason }}

@if (plan.Actions?.length) { @for (a of plan.Actions; track a.PIPActionId) { }
ActionDueStatus
{{ a.ActionText }} {{ a.DueDate | date:'dd MMM' }} {{ a.Status===1?'Done':'Pending' }}
} @if (showActionForm()) {
}
} @if (showForm()) {

New PIP Plan

}