{{ "COMPLAINT_ACTION_DETAILS" | translate }} @if(data.isViewOnly){ cancel }
@if(complaintActionForm.get('actionTitle')?.touched && complaintActionForm.get('actionTitle')?.errors){ @if(complaintActionForm.get('actionTitle')?.errors?.['required']){
{{'ACTION_TITLE_IS_REQUIRED' | translate}}
}
}
-- {{ "NONE" | translate }} -- @for (user of userStore.users(); track user) { {{ user.firstName }} {{ user.lastName }} } @if(complaintActionForm.get('responsibleId')?.touched && complaintActionForm.get('responsibleId')?.errors){ @if(complaintActionForm.get('responsibleId')?.errors?.['required']){
{{'RESPONSIBLE_USER_IS_REQUIRED' | translate}}
}
}
-- {{ "NONE" | translate }} -- @for (status of statusList; track status) { {{ status.name | translate }} } @if(complaintActionForm.get('status')?.touched && complaintActionForm.get('status')?.errors){ @if(complaintActionForm.get('status')?.errors?.['required']){
{{'ACTION_STATUS_IS_REQUIRED' | translate}}
}
}
@if(complaintActionForm.get('actionDate')?.touched && complaintActionForm.get('actionDate')?.errors){ @if(complaintActionForm.get('actionDate')?.errors?.['required']){
{{'ACTION_DATE_IS_REQUIRED' | translate}}
}
}
@if(complaintActionForm.get('dueDate')?.touched && complaintActionForm.get('dueDate')?.errors){ @if(complaintActionForm.get('dueDate')?.errors?.['matDatepickerMin']){
{{'DUE_DATE_PASSED_CANNOT_UPDATE_ACTION' | translate}}
}
}
@if(complaintActionForm.get('actionDetail')?.touched && complaintActionForm.get('actionDetail')?.errors){ @if(complaintActionForm.get('actionDetail')?.errors?.['required']){
{{'DESCRIPTION_IS_REQUIRED' | translate}}
}
}
@if(!data.isViewOnly){
}