Commit 71897859 authored by Aravind RK's avatar Aravind RK

Enable to view the pm and hr in the interview details page

parent 566dca04
......@@ -201,6 +201,42 @@
<span class="detail-label">Interview Date</span>
<span class="detail-value">{{ selectedGroup().dateOfInterview | date:'mediumDate' }}</span>
</div>
<div class="detail-item">
<span class="detail-label">Interviewer(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedInterviewers?.length) {
@for (i of selectedGroup().assignedInterviewers; track i._id; let last = $last) {
{{ i.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
<div class="detail-item">
<span class="detail-label">HR(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedHRs?.length) {
@for (h of selectedGroup().assignedHRs; track h._id; let last = $last) {
{{ h.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
<div class="detail-item">
<span class="detail-label">Project Manager(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedPMs?.length) {
@for (p of selectedGroup().assignedPMs; track p._id; let last = $last) {
{{ p.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
</div>
</div>
......
......@@ -201,6 +201,42 @@
<span class="detail-label">Interview Date</span>
<span class="detail-value">{{ selectedGroup().dateOfInterview | date:'mediumDate' }}</span>
</div>
<div class="detail-item">
<span class="detail-label">Interviewer(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedInterviewers?.length) {
@for (i of selectedGroup().assignedInterviewers; track i._id; let last = $last) {
{{ i.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
<div class="detail-item">
<span class="detail-label">HR(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedHRs?.length) {
@for (h of selectedGroup().assignedHRs; track h._id; let last = $last) {
{{ h.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
<div class="detail-item">
<span class="detail-label">Project Manager(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedPMs?.length) {
@for (p of selectedGroup().assignedPMs; track p._id; let last = $last) {
{{ p.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
</div>
</div>
......
......@@ -441,6 +441,42 @@
<span class="detail-label">Interview Date</span>
<span class="detail-value">{{ selectedGroup().dateOfInterview | date:'mediumDate' }}</span>
</div>
<div class="detail-item">
<span class="detail-label">Interviewer(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedInterviewers?.length) {
@for (i of selectedGroup().assignedInterviewers; track i._id; let last = $last) {
{{ i.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
<div class="detail-item">
<span class="detail-label">HR(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedHRs?.length) {
@for (h of selectedGroup().assignedHRs; track h._id; let last = $last) {
{{ h.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
<div class="detail-item">
<span class="detail-label">Project Manager(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedPMs?.length) {
@for (p of selectedGroup().assignedPMs; track p._id; let last = $last) {
{{ p.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
</div>
</div>
......
......@@ -442,6 +442,42 @@
<span class="detail-label">Interview Date</span>
<span class="detail-value">{{ selectedGroup().dateOfInterview | date:'mediumDate' }}</span>
</div>
<div class="detail-item">
<span class="detail-label">Interviewer(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedInterviewers?.length) {
@for (i of selectedGroup().assignedInterviewers; track i._id; let last = $last) {
{{ i.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
<div class="detail-item">
<span class="detail-label">HR(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedHRs?.length) {
@for (h of selectedGroup().assignedHRs; track h._id; let last = $last) {
{{ h.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
<div class="detail-item">
<span class="detail-label">Project Manager(s)</span>
<span class="detail-value">
@if (selectedGroup().assignedPMs?.length) {
@for (p of selectedGroup().assignedPMs; track p._id; let last = $last) {
{{ p.name }}{{ !last ? ', ' : '' }}
}
} @else {
}
</span>
</div>
</div>
</div>
......
......@@ -90,7 +90,7 @@ export class HRIndividualInterviewComponent implements OnInit {
this.hrs.set(staff.filter((s: any) => s.role === 'hr'));
}
});
this.quizService.getAdminQuizzes().subscribe({
this.quizService.getHRQuizzes().subscribe({
next: (res) => this.quizzes.set(res.quizzes || [])
});
this.newInterview = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment