Merged in feature/IO-2847-Employee-Rate-Filter (pull request #1526)

IO-2847 Employee Rate Filter

Approved-by: Dave Richer
This commit is contained in:
Allan Carr
2024-07-19 17:15:04 +00:00
committed by Dave Richer

View File

@@ -63,7 +63,7 @@ export default function ShopEmployeesListComponent({ loading, employees }) {
value: false
}
],
onFilter: (value, record) => value === record.flate_rate,
onFilter: (value, record) => value === record.flat_rate,
render: (text, record) =>
record.flat_rate ? t("employees.labels.flat_rate") : t("employees.labels.straight_time")
},