diff --git a/src/controllers/SalaryFormulaEmployeeController.ts b/src/controllers/SalaryFormulaEmployeeController.ts index b5b0136..3ac3c6c 100644 --- a/src/controllers/SalaryFormulaEmployeeController.ts +++ b/src/controllers/SalaryFormulaEmployeeController.ts @@ -251,7 +251,10 @@ export class SalaryFormulaEmployeeController extends Controller { const mapFormula = getFormula.map((item) => ({ id: item.id, - posLevel: item.posLevel != null ? item.posLevel.posLevelName : null, + posLevel: + item.posLevel != null && item.posType != null + ? `${item.posType.posTypeShortName} ${item.posLevel.posLevelName}` + : null, position: item.position, posType: item.posType != null ? item.posType.posTypeName : null, details: item.details,