From 37642160c42603c2bb74f2572137df917cfa5bbf Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 24 Jan 2025 13:23:05 +0700 Subject: [PATCH] refactor: show contact tel --- src/pages/05_quotation/preview/ViewHeader.vue | 5 ++++- src/pages/09_task-order/document_view/ViewHeader.vue | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/05_quotation/preview/ViewHeader.vue b/src/pages/05_quotation/preview/ViewHeader.vue index 83c98eab..932bef75 100644 --- a/src/pages/05_quotation/preview/ViewHeader.vue +++ b/src/pages/05_quotation/preview/ViewHeader.vue @@ -130,7 +130,10 @@ function titleMode(mode: View): string {
{{ $t('quotation.contactName') }}
-
{{ details.contactName }}
+
+ {{ details.contactName ? details.contactName : '-' }} + {{ details.contactTel }} +
{{ $t('quotation.receiptDialog.paymentDueDate') }}
diff --git a/src/pages/09_task-order/document_view/ViewHeader.vue b/src/pages/09_task-order/document_view/ViewHeader.vue index 33d76457..0d1a89c3 100644 --- a/src/pages/09_task-order/document_view/ViewHeader.vue +++ b/src/pages/09_task-order/document_view/ViewHeader.vue @@ -106,7 +106,7 @@ defineProps<{
{{ $t('taskOrder.contacts') }}
-
{{ details.contactName }}
+
{{ details.contactName }} {{ details.contactTel }}