This commit is contained in:
AdisakKanthawilang 2025-05-13 15:41:49 +07:00
parent 00de87822a
commit 31efc01015

View file

@ -523,7 +523,7 @@ export class OrganizationUnauthorizeController extends Controller {
? false
: true,
// isSpecial: isSpecial,
isGood: profileAssessment?.profileId.includes(item.current_holderId) ? true : false,
isGood: profileAssessment?.profileId?.includes(item.current_holderId) ? true : false,
};
});
return new HttpSuccess({ data: formattedData, total: total });
@ -974,7 +974,7 @@ export class OrganizationUnauthorizeController extends Controller {
calculateRetireDate(item.birthDate).getFullYear() != body.year
? false
: true,
isGood: profileAssessment?.profileId.includes(item.current_holderId) ? true : false,
isGood: profileAssessment?.profileEmployeeId?.includes(item.current_holderId) ? true : false,
};
});
return new HttpSuccess({ data: formattedData, total: total });