Merged in feature/IO-2411-active-employee-filtering (pull request #1010)

IO-2411 filter inactive employees on prod. print button
This commit is contained in:
Patrick Fic
2023-10-16 16:35:44 +00:00

View File

@@ -55,7 +55,9 @@ export function ProductionListPrint({ bodyshop }) {
<Menu.SubMenu
title={t("reportcenter.templates.production_by_technician_one")}
>
{bodyshop.employees.map((e) => (
{bodyshop.employees
.filter((e) => e.active)
.map((e) => (
<Menu.Item
key={e.id}
onClick={async () => {