IO-3622 Employee Delete Rate

Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
Allan Carr
2026-03-23 16:46:28 -07:00
parent f904fa4e18
commit aa81cddcf1

View File

@@ -316,9 +316,8 @@ export function ShopEmployeesFormComponent({ bodyshop }) {
<LayoutFormRow grow>
<Form.Item
label={t("employees.fields.cost_center")}
key={`${index}`}
key={`${field.key}-cost_center`}
name={[field.name, "cost_center"]}
valuePropName="value"
rules={[
{
required: true
@@ -343,7 +342,7 @@ export function ShopEmployeesFormComponent({ bodyshop }) {
</Form.Item>
<Form.Item
label={t("employees.fields.rate")}
key={`${index}`}
key={`${field.key}-rate`}
name={[field.name, "rate"]}
rules={[
{