diff --git a/src/modules/13_salary/components/SalaryEmployeeLists/Dashboard.vue b/src/modules/13_salary/components/SalaryEmployeeLists/Dashboard.vue index 726b954b4..f74d35699 100644 --- a/src/modules/13_salary/components/SalaryEmployeeLists/Dashboard.vue +++ b/src/modules/13_salary/components/SalaryEmployeeLists/Dashboard.vue @@ -149,6 +149,7 @@ const columnsAPR = ref([ field: "total", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { @@ -159,6 +160,11 @@ const columnsAPR = ref([ field: "fifteenPercent", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => + Number(v).toLocaleString("en", { + minimumFractionDigits: 2, + maximumFractionDigits: 2, + }), }, { name: "chosen", @@ -168,6 +174,7 @@ const columnsAPR = ref([ field: "chosen", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { name: "remaining", @@ -177,6 +184,7 @@ const columnsAPR = ref([ field: "remaining", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { name: "totalBackup", @@ -186,6 +194,7 @@ const columnsAPR = ref([ field: "totalBackup", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, ]); const columnsOCT = ref([ @@ -292,6 +301,7 @@ const columnsOCT = ref([ field: "totalBackup", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, ]); @@ -313,6 +323,7 @@ const columnsSpeciel = ref([ field: "total", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { @@ -323,6 +334,7 @@ const columnsSpeciel = ref([ field: "chosen", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { @@ -333,6 +345,7 @@ const columnsSpeciel = ref([ field: "totalBackup", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, ]); const columns = computed(() => { diff --git a/src/modules/13_salary/components/SalaryLists/Dashboard.vue b/src/modules/13_salary/components/SalaryLists/Dashboard.vue index fb7719183..ecbd1c1c3 100644 --- a/src/modules/13_salary/components/SalaryLists/Dashboard.vue +++ b/src/modules/13_salary/components/SalaryLists/Dashboard.vue @@ -164,6 +164,11 @@ const columnsAPR = ref([ field: "fifteenPercent", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => + Number(v).toLocaleString("en", { + minimumFractionDigits: 2, + maximumFractionDigits: 2, + }), }, { name: "chosen", @@ -173,6 +178,7 @@ const columnsAPR = ref([ field: "chosen", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { name: "remaining", @@ -182,6 +188,7 @@ const columnsAPR = ref([ field: "remaining", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { name: "totalBackup", @@ -191,6 +198,7 @@ const columnsAPR = ref([ field: "totalBackup", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, ]); const columnsOCT = ref([ @@ -297,6 +305,7 @@ const columnsOCT = ref([ field: "totalBackup", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, ]); const columnsSpeciel = ref([ @@ -317,6 +326,7 @@ const columnsSpeciel = ref([ field: "total", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { @@ -327,6 +337,7 @@ const columnsSpeciel = ref([ field: "chosen", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, { @@ -337,6 +348,7 @@ const columnsSpeciel = ref([ field: "totalBackup", headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (v) => Number(v).toLocaleString(), }, ]);