feat: i18n quotation, taskorder

This commit is contained in:
nwpptrs 2025-01-20 14:23:08 +07:00
parent 44476f8535
commit 32a195770d
9 changed files with 66 additions and 30 deletions

View file

@ -380,7 +380,9 @@ function print() {
class="row text-right border-5 items-center"
style="width: 40%; background: var(--main); padding: 8px"
>
<span style="color: white; font-weight: 600">ยอดรวมสทธ</span>
<span style="color: white; font-weight: 600">
{{ $t('quotation.totalPrice') }}
</span>
<span
class="border-5"
style="

View file

@ -14,8 +14,8 @@ defineProps<{
<template>
<div class="footer-container">
<div class="footer-top">
<div>ในนาม {{ data?.name || '-' }}</div>
<div>ในนาม {{ data?.company || '-' }}</div>
<div>{{ $t('taskOrder.inTheNameOf') }} {{ data?.name || '-' }}</div>
<div>{{ $t('taskOrder.inTheNameOf') }} {{ data?.company || '-' }}</div>
</div>
<img src="/images/jws-stamp.png" alt="${0}" />
@ -24,21 +24,21 @@ defineProps<{
<section>
<div>
<span class="data-placeholder"></span>
<span>งซอสนค</span>
<span>{{ $t('taskOrder.productOrderer') }}</span>
</div>
<div>
<span class="data-placeholder"></span>
<span>นท</span>
<span>{{ $t('taskOrder.date') }}</span>
</div>
</section>
<section>
<div>
<span class="data-placeholder"></span>
<span>อน</span>
<span>{{ $t('taskOrder.approver') }}</span>
</div>
<div>
<span class="data-placeholder"></span>
<span>นท</span>
<span>{{ $t('taskOrder.date') }}</span>
</div>
</section>
</div>

View file

@ -101,11 +101,11 @@ defineProps<{
<div>{{ details.code }}</div>
</div>
<div>
<div>องาน</div>
<div>{{ $t('taskOrder.workName') }}</div>
<div>{{ details.name }}</div>
</div>
<div>
<div>ดต</div>
<div>{{ $t('taskOrder.contacts') }}</div>
<div>{{ details.contactName }}</div>
</div>
</section>