IO-2411 filter inactive employees on prod. print button
This commit is contained in:
@@ -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 () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user