Merged in feature/IO-3622-Employee-Delete-Rate (pull request #3153)

IO-3622 Employee Delete Rate

Approved-by: Dave Richer
This commit is contained in:
Allan Carr
2026-03-24 17:49:29 +00:00
committed by Dave Richer

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={[
{