Skip to content

Commit

Permalink
add payroll specialist
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McFadden committed Dec 12, 2024
1 parent ba91163 commit 3c7e4f2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions resources/js/pages/reports/HRReportPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
>HR Generalist</router-link
>
</li>
<li>
<router-link :to="{ name: 'role', params: { roleId: 14 } }"
>Payroll Specialist</router-link
>
</li>

</ul>
<table class="table">
Expand Down Expand Up @@ -64,6 +69,15 @@
@sort="sort"
/>
</th>
<th>
<SortableLink
sortLabel="Payroll Specialist"
sortElement="payrollspecialist.0.user.displayName"
:currentSort="currentSort"
:currentSortDir="currentSortDir"
@sort="sort"
/>
</th>
</tr>
</thead>
<tbody>
Expand All @@ -87,6 +101,11 @@
:memberList="department.hrGeneralist"
></UserWithLink>
</td>
<td>
<UserWithLink
:memberList="department.payrollSpecialist"
></UserWithLink>
</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -135,6 +154,7 @@ export default {
outputObject.group = members[0].group;
outputObject.hrConsultant = members.filter((m) => m.role.id == 12);
outputObject.hrGeneralist = members.filter((m) => m.role.id == 13);
outputObject.payrollSpecialist = members.filter((m) => m.role.id == 14);
listByDepartment.push(outputObject);
}
Expand Down Expand Up @@ -169,6 +189,10 @@ export default {
{
roleId: 13, // hr generalist
groupType: null,
},
{
roleId: 14, // payroll specialist
groupType: null,
}
];
Expand Down

0 comments on commit 3c7e4f2

Please sign in to comment.