diff --git a/src/modules/10_registry/01_Information/05_Educations.vue b/src/modules/10_registry/01_Information/05_Educations.vue index 943a411..435c123 100644 --- a/src/modules/10_registry/01_Information/05_Educations.vue +++ b/src/modules/10_registry/01_Information/05_Educations.vue @@ -42,6 +42,7 @@ const visibleColumns = ref([ "other", "fundName", "isEducation", + "isHigh", "endDate", "startDate", "finishDate", @@ -120,6 +121,20 @@ const columns = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, + { + name: "isHigh", + align: "left", + label: "วุฒิการศึกษาสูงสุด", + sortable: true, + field: "isHigh", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + format: (v) => (v === true ? "ใช่" : v === false ? "ไม่ใช่" : "-"), + sort: (a: string, b: string) => + a + .toString() + .localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + }, { name: "degree", align: "left", @@ -320,6 +335,20 @@ const columnsHistory = ref([ sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, + { + name: "isHigh", + align: "left", + label: "วุฒิการศึกษาสูงสุด", + sortable: true, + field: "isHigh", + headerStyle: "font-size: 14px", + style: "font-size: 14px", + format: (v) => (v === true ? "ใช่" : v === false ? "ไม่ใช่" : "-"), + sort: (a: string, b: string) => + a + .toString() + .localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + }, { name: "degree", align: "left", @@ -455,6 +484,7 @@ const visibleColumnsHistory = ref([ "other", "fundName", "isEducation", + "isHigh", "endDate", "startDate", "finishDate",