no message

This commit is contained in:
Kittapath 2024-04-02 13:58:36 +07:00
parent 168e59fdf4
commit 822035838d

View file

@ -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,