IO-2411 filter inactive employees on prod. print button

This commit is contained in:
Patrick Fic
2023-10-16 09:34:53 -07:00
parent 3659fbec84
commit 6efa08fee3

View File

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