refactor: view document customer name
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
This commit is contained in:
parent
22e11cf699
commit
40e6d1ba1c
3 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { dateFormat } from 'src/utils/datetime';
|
|||
|
||||
// NOTE: Import stores
|
||||
import { formatAddress } from 'src/utils/address';
|
||||
import { getCustomerName } from 'src/stores/utils';
|
||||
|
||||
// NOTE Import Types
|
||||
import { Branch } from 'src/stores/branch/types';
|
||||
|
|
@ -85,6 +86,7 @@ function titleMode(mode: View): string {
|
|||
<article>
|
||||
<b>{{ $t('quotation.customer') }}</b>
|
||||
<span>
|
||||
{{ getCustomerName(customer, { noCode: true, locale: 'tha' }) }}
|
||||
{{
|
||||
formatAddress({
|
||||
address: customer.address,
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { dateFormat } from 'src/utils/datetime';
|
|||
|
||||
// NOTE: Import stores
|
||||
import { formatAddress } from 'src/utils/address';
|
||||
import { getCustomerName } from 'src/stores/utils';
|
||||
|
||||
// NOTE Import Types
|
||||
import { Branch } from 'src/stores/branch/types';
|
||||
|
|
@ -85,6 +86,7 @@ function titleMode(mode: View): string {
|
|||
<article>
|
||||
<b>ลูกค้า</b>
|
||||
<span>
|
||||
{{ getCustomerName(customer, { noCode: true, locale: 'tha' }) }}
|
||||
{{
|
||||
formatAddress({
|
||||
address: customer.address,
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { dateFormat } from 'src/utils/datetime';
|
|||
|
||||
// NOTE: Import stores
|
||||
import { formatAddress } from 'src/utils/address';
|
||||
import { getCustomerName } from 'src/stores/utils';
|
||||
|
||||
// NOTE Import Types
|
||||
import { Branch } from 'src/stores/branch/types';
|
||||
|
|
@ -85,6 +86,7 @@ function titleMode(mode: View): string {
|
|||
<article>
|
||||
<b>ลูกค้า</b>
|
||||
<span>
|
||||
{{ getCustomerName(customer, { noCode: true, locale: 'tha' }) }}
|
||||
{{
|
||||
formatAddress({
|
||||
address: customer.address,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue