From 0e2c1210bea2ec422566cf90d7c9ef8ebd47b1cb Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Tue, 15 Oct 2024 09:50:52 +0700 Subject: [PATCH] feat: get actor through metadata --- src/pages/05_quotation/MainPage.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index 71c19878..084c36e9 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -544,7 +544,11 @@ watch(() => pageState.currentTab, fetchQuotationList); v.customerBranch.registerName || `${v.customerBranch.firstName || '-'} ${v.customerBranch.lastName || ''}` " - :reporter="v.actorName" + :reporter=" + $i18n.locale === 'en-US' + ? v.createdBy.firstNameEN + ' ' + v.createdBy.lastNameEN + : v.createdBy.firstName + ' ' + v.createdBy.lastName + " :total-price="v.totalPrice" @view=" () => {