fix employee
This commit is contained in:
parent
31d7902b88
commit
8a96794e53
1 changed files with 6 additions and 0 deletions
|
|
@ -11052,6 +11052,12 @@ export class ReportController extends Controller {
|
|||
acc[key] = { ...curr, total: 1 };
|
||||
} else {
|
||||
acc[key].total += 1;
|
||||
acc[key].total += 1;
|
||||
const combinedPositions = new Set([
|
||||
...acc[key].positions.split(", "),
|
||||
...curr.positions.split(", "),
|
||||
]);
|
||||
acc[key].positions = Array.from(combinedPositions).join(", ");
|
||||
}
|
||||
return acc;
|
||||
}, {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue