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>