Browse Source

using salaryPoint as id

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi 1 year ago
parent
commit
e799a70938
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/components/EditStaff/EditStaff.tsx

+ 2
- 1
src/components/EditStaff/EditStaff.tsx View File

@@ -216,12 +216,13 @@ const EditStaff: React.FC = async () => {
required: true,
};
case "salary":
// console.log("salary", data[key])
return {
id: `salaryId`,
label: t(`Salary Point`),
type: "combo-Obj",
options: salaryCombo,
value: data[key]?.id ?? "",
value: data[key]?.salaryPoint ?? "",
required: true,
};
// case "hourlyRate":


Loading…
Cancel
Save