diff --git a/src/i18n/eng.ts b/src/i18n/eng.ts
index dc7f840c..9afb6737 100644
--- a/src/i18n/eng.ts
+++ b/src/i18n/eng.ts
@@ -507,6 +507,7 @@ export default {
miss: 'MISS.',
},
+ taxpayyerNo: 'Taxpayer Identification Number',
citizenId: 'Citizen ID',
religion: 'Religion',
issueDate: 'Issue Date',
diff --git a/src/i18n/tha.ts b/src/i18n/tha.ts
index 7a4a4165..3430d2f6 100644
--- a/src/i18n/tha.ts
+++ b/src/i18n/tha.ts
@@ -508,6 +508,7 @@ export default {
religion: 'ศาสนา',
issueDate: 'วันที่ออกหนังสือ',
passportExpiryDate: 'วันหiมดอายุหนังสือเดินทาง',
+ taxpayyerNo: 'เลขที่ประจำตัวผู้เสียภาษี',
ownerName: 'ชื่อนายจ้าง',
firstName: 'ชื่อ ',
diff --git a/src/pages/05_quotation/preview/ViewHeader.vue b/src/pages/05_quotation/preview/ViewHeader.vue
index ecd08850..78f66511 100644
--- a/src/pages/05_quotation/preview/ViewHeader.vue
+++ b/src/pages/05_quotation/preview/ViewHeader.vue
@@ -79,8 +79,8 @@ function titleMode(mode: View): string {
})
}}
- เลขประจำตัวผู้เสียภาษี {{ branch.taxNo }}
- เบอร์โทร {{ branch.telephoneNo }}
+ {{ $t('branch.form.taxNo') }} {{ branch.taxNo }}
+ {{ $t('taskOrder.telephone') }} {{ branch.telephoneNo }}
{{ branch.webUrl }}
@@ -105,8 +105,18 @@ function titleMode(mode: View): string {
})
}}
- เลขประจำตัวผู้เสียภาษี {{ customer.citizenId }}
- เบอร์โทร {{ customer.telephoneNo }}
+
+ {{
+ customer.customer.customerType === 'CORP'
+ ? `${$t('customer.form.legalPersonNo')} `
+ : `${$t('customer.form.taxpayyerNo')} `
+ }}{{
+ customer.customer.customerType === 'CORP'
+ ? customer.codeCustomer
+ : customer.citizenId
+ }}
+
+ {{ $t('taskOrder.telephone') }} {{ customer.telephoneNo }}
diff --git a/src/pages/09_task-order/document_view/ViewHeader.vue b/src/pages/09_task-order/document_view/ViewHeader.vue
index 0d1a89c3..9097cc89 100644
--- a/src/pages/09_task-order/document_view/ViewHeader.vue
+++ b/src/pages/09_task-order/document_view/ViewHeader.vue
@@ -64,8 +64,8 @@ defineProps<{
})
}}
- เลขประจำตัวผู้เสียภาษี {{ branch.taxNo }}
- เบอร์โทร {{ branch.telephoneNo }}
+ {{ $t('branch.form.taxNo') }} {{ branch.taxNo }}
+ {{ $t('taskOrder.telephone') }} {{ branch.telephoneNo }}
{{ branch.webUrl }}
diff --git a/src/pages/11_credit-note/document-view/ViewHeader.vue b/src/pages/11_credit-note/document-view/ViewHeader.vue
index 9d56ac4d..93c51dab 100644
--- a/src/pages/11_credit-note/document-view/ViewHeader.vue
+++ b/src/pages/11_credit-note/document-view/ViewHeader.vue
@@ -79,8 +79,8 @@ function titleMode(mode: View): string {
})
}}
- เลขประจำตัวผู้เสียภาษี {{ branch.taxNo }}
- เบอร์โทร {{ branch.telephoneNo }}
+ {{ $t('branch.form.taxNo') }} {{ branch.taxNo }}
+ {{ $t('taskOrder.telephone') }} {{ branch.telephoneNo }}
{{ branch.webUrl }}
@@ -105,8 +105,18 @@ function titleMode(mode: View): string {
})
}}
- เลขประจำตัวผู้เสียภาษี {{ customer.citizenId }}
- เบอร์โทร {{ customer.telephoneNo }}
+
+ {{
+ customer.customer.customerType === 'CORP'
+ ? `${$t('customer.form.legalPersonNo')} `
+ : `${$t('customer.form.taxpayyerNo')} `
+ }}{{
+ customer.customer.customerType === 'CORP'
+ ? customer.codeCustomer
+ : customer.citizenId
+ }}
+
+ {{ $t('taskOrder.telephone') }} {{ customer.telephoneNo }}
diff --git a/src/pages/12_debit-note/document-view/ViewHeader.vue b/src/pages/12_debit-note/document-view/ViewHeader.vue
index f6174ed9..cf2c055c 100644
--- a/src/pages/12_debit-note/document-view/ViewHeader.vue
+++ b/src/pages/12_debit-note/document-view/ViewHeader.vue
@@ -79,8 +79,8 @@ function titleMode(mode: View): string {
})
}}
- เลขประจำตัวผู้เสียภาษี {{ branch.taxNo }}
- เบอร์โทร {{ branch.telephoneNo }}
+ {{ $t('branch.form.taxNo') }} {{ branch.taxNo }}
+ {{ $t('taskOrder.telephone') }} {{ branch.telephoneNo }}
{{ branch.webUrl }}
@@ -105,8 +105,18 @@ function titleMode(mode: View): string {
})
}}
- เลขประจำตัวผู้เสียภาษี {{ customer.citizenId }}
- เบอร์โทร {{ customer.telephoneNo }}
+
+ {{
+ customer.customer.customerType === 'CORP'
+ ? `${$t('customer.form.legalPersonNo')} `
+ : `${$t('customer.form.taxpayyerNo')} `
+ }}{{
+ customer.customer.customerType === 'CORP'
+ ? customer.codeCustomer
+ : customer.citizenId
+ }}
+
+ {{ $t('taskOrder.telephone') }} {{ customer.telephoneNo }}