From 4fdc241b9c19d5114ec544b7a11f6fdc570cb4b3 Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Fri, 5 Jan 2024 10:56:30 -0800 Subject: [PATCH] IO-2522 Load Level Report App Side --- .../shop-employee-teams.form.component.jsx | 16 ++++++++-- client/src/graphql/employee_teams.queries.js | 29 +++++++++++-------- client/src/translations/en_us/common.json | 2 ++ client/src/translations/es/common.json | 2 ++ client/src/translations/fr/common.json | 2 ++ client/src/utils/TemplateConstants.js | 13 +++++++++ 6 files changed, 50 insertions(+), 14 deletions(-) diff --git a/client/src/components/shop-teams/shop-employee-teams.form.component.jsx b/client/src/components/shop-teams/shop-employee-teams.form.component.jsx index d811eb794..928b4286b 100644 --- a/client/src/components/shop-teams/shop-employee-teams.form.component.jsx +++ b/client/src/components/shop-teams/shop-employee-teams.form.component.jsx @@ -2,11 +2,11 @@ import { DeleteFilled } from "@ant-design/icons"; import { useMutation, useQuery } from "@apollo/client"; import { Button, - Space, Card, Form, Input, InputNumber, + Space, Switch, notification, } from "antd"; @@ -157,6 +157,18 @@ export function ShopEmployeeTeamsFormComponent({ bodyshop }) { > + + + {(fields, { add, remove, move }) => { @@ -199,7 +211,7 @@ export function ShopEmployeeTeamsFormComponent({ bodyshop }) { }, ]} > - + { }, group: "customers", }, + load_level: { + title: i18n.t("reportcenter.templates.load_level"), + subject: i18n.t("reportcenter.templates.load_level"), + key: "load_level", + //idtype: "vendor", + disabled: false, + rangeFilter: { + object: i18n.t("reportcenter.labels.objects.jobs"), + field: i18n.t("jobs.fields.date_open"), + }, + group: "jobs", + enhanced_payroll: true, + }, } : {}), ...(!type || type === "courtesycarcontract"