refactor: handle show moo

This commit is contained in:
Thanaphon Frappet 2024-10-21 12:04:25 +07:00
parent 55a6a8b4e9
commit c5aa7e94a1

View file

@ -33,10 +33,11 @@ defineProps<{
<article>
<b>บริษัท {{ branch.name }}</b>
<span>
หมู่.{{ branch.moo }} ต.{{ branch.subDistrict?.name }} อ.{{
branch.district?.name
{{ !branch.moo ? '' : `หมู่.${branch.moo}` }} ต.{{
branch.subDistrict?.name
}}
จ.{{ branch.province?.name }} {{ branch.subDistrict?.zipCode }}
อ.{{ branch.district?.name }} จ.{{ branch.province?.name }}
{{ branch.subDistrict?.zipCode }}
</span>
<span>เลขประจำตัวผู้เสียภาษี {{ branch.taxNo }}</span>
<span>เบอร์โทร {{ branch.telephoneNo }}</span>