refactor/feat: i18n & constant
This commit is contained in:
parent
270deacba7
commit
8fce5ff2df
3 changed files with 60 additions and 2 deletions
|
|
@ -73,6 +73,13 @@ export default {
|
|||
view: 'View {msg}',
|
||||
attachment: 'Attachment',
|
||||
about: 'About',
|
||||
total: 'Total',
|
||||
discount: 'Discount',
|
||||
totalAfterDiscount: 'Total after discount',
|
||||
totalVatExcluded: 'Tax exemption amount',
|
||||
totalVatIncluded: 'Taxable amount',
|
||||
vat: 'VAT {msg}',
|
||||
totalAmount: 'Total amount',
|
||||
},
|
||||
|
||||
menu: {
|
||||
|
|
@ -575,7 +582,7 @@ export default {
|
|||
quotation: {
|
||||
title: 'Quotation',
|
||||
customerName: 'Customer Name',
|
||||
reporter: 'Reporter',
|
||||
actor: 'Actor',
|
||||
totalPrice: 'Total (Baht)',
|
||||
receipt: 'Receipt/Tax Invoice',
|
||||
branch: 'Branch that issues the quotation',
|
||||
|
|
@ -583,6 +590,22 @@ export default {
|
|||
newCustomer: 'New Customer',
|
||||
employeeList: 'Employee List',
|
||||
employee: 'Employee',
|
||||
workName: 'Work Name',
|
||||
contactName: 'Contact Name',
|
||||
documentReceivePoint: 'Document Drop-Off Point"',
|
||||
dueDate: 'Quotation Due Date',
|
||||
|
||||
paymentCondition: 'Payment Terms',
|
||||
payType: 'Payment Methods',
|
||||
bank: 'Select Payment Account',
|
||||
paySplitCount: 'Number of Installments',
|
||||
payTotal: 'Total {msg}',
|
||||
|
||||
summary: 'Total Summary',
|
||||
periodNo: 'Installment No."',
|
||||
amount: 'Amount',
|
||||
payDueDate: 'Pay Due Date',
|
||||
callDueDate: 'Call Due Date',
|
||||
type: {
|
||||
all: 'All',
|
||||
fullAmountCash: 'Full Amount Cash',
|
||||
|
|
@ -677,6 +700,7 @@ export default {
|
|||
validateError: 'Validate Error',
|
||||
codeMisMatch: 'Code Mismatch',
|
||||
userExists: 'User already exits.',
|
||||
crossCompanyNotPermit: 'Cannot move between different headoffice',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -73,6 +73,13 @@ export default {
|
|||
view: 'ดู{msg}',
|
||||
attachment: 'เอกสาร',
|
||||
about: 'เกี่ยวกับ',
|
||||
total: 'ยอดรวม',
|
||||
discount: 'ส่วนลด',
|
||||
totalAfterDiscount: 'จำนวนเงินหลังหักส่วนลด',
|
||||
totalVatExcluded: 'จำนวนเงินยกเว้นภาษี',
|
||||
totalVatIncluded: 'จำนวนเงินที่คำนวณภาษี',
|
||||
vat: 'ภาษีมูลค่าเพิ่ม {msg}',
|
||||
totalAmount: 'จำนวนเงินรวมทั้งสิ้น',
|
||||
},
|
||||
|
||||
menu: {
|
||||
|
|
@ -573,7 +580,7 @@ export default {
|
|||
quotation: {
|
||||
title: 'ใบเสนอราคา',
|
||||
customerName: 'ชื่อลูกค้า',
|
||||
reporter: 'ผู้ที่ทำรายงาน',
|
||||
actor: 'ผู้ที่ทำรายงาน',
|
||||
totalPrice: 'ยอดรวมสุทธิ(บาท)',
|
||||
receipt: 'ใบเสร็จ/กำกับภาษี',
|
||||
branch: 'สาขาที่ออกใบเสนอราคา',
|
||||
|
|
@ -581,6 +588,22 @@ export default {
|
|||
newCustomer: 'ลูกค้าใหม่',
|
||||
employeeList: 'รายชื่อแรงงาน',
|
||||
employee: 'แรงงาน',
|
||||
workName: 'ชื่องาน',
|
||||
contactName: 'ชื่อผู้ติดต่อ',
|
||||
documentReceivePoint: 'จุดรับเอกสาร',
|
||||
dueDate: 'วันครบกำหนดใบเสนอราคา',
|
||||
|
||||
paymentCondition: 'เงื่อนไขการชำระเงิน',
|
||||
payType: 'วิธีการชำระเงิน',
|
||||
bank: 'เลือกบัญชีชำระเงิน',
|
||||
paySplitCount: 'จำนวนงวด',
|
||||
payTotal: 'ยอดชำระ {msg}',
|
||||
|
||||
summary: 'สรุปยอดทั้งหมด',
|
||||
periodNo: 'งวดที่',
|
||||
amount: 'จำนวนเงิน',
|
||||
payDueDate: 'วันที่กำหนดจ่าย',
|
||||
callDueDate: 'วันที่ครบกำหนดเรียก',
|
||||
type: {
|
||||
all: 'ทั้งหมด',
|
||||
fullAmountCash: 'เงินสดเต็มจำนวน',
|
||||
|
|
@ -672,6 +695,7 @@ export default {
|
|||
validateError: 'เกิดข้อผิดพลาดจากการตรวจสอบ',
|
||||
codeMisMatch: 'รหัสไม่ตรงกัน',
|
||||
userExists: 'ชื่อผู้ใช้นี้มีอยู่ในระบบอยู่แล้ว',
|
||||
crossCompanyNotPermit: 'ไม่สามารถดำเนินการระหว่างสำนักงานใหญ่อื่นได้',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -18,3 +18,13 @@ export const productTreeDecoration = [
|
|||
fg: 'var(--teal-10)',
|
||||
},
|
||||
];
|
||||
|
||||
export const pageTabs = [
|
||||
'all',
|
||||
'fullAmountCash',
|
||||
'installmentsCash',
|
||||
'fullAmountBill',
|
||||
'installmentsBill',
|
||||
];
|
||||
|
||||
export const fieldSelectedOption = [{ label: 'general.type', value: 'value' }];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue