diff --git a/src/utils/function.ts b/src/utils/function.ts index 013ea7ad0..fb0320f5b 100644 --- a/src/utils/function.ts +++ b/src/utils/function.ts @@ -69,7 +69,7 @@ export function calculateAge(birthDate: Date | null) { */ export function getColumnLabel(col: any, isAct: boolean) { if (col.name === "posNo" && isAct) { - return "เลขที่ตำแหน่ง (รักษาการแทน)"; + return `${col.label} (รักษาการแทน)`; } return col.label; }