From a9c9467643756922c64c91f9d01bc07c9b8a506a Mon Sep 17 00:00:00 2001 From: Methapon Metanipat <162551568+Methapon-Frappet@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:27:55 +0700 Subject: [PATCH] fix: payment (#36) * refactor: remove pay all checkbox * fix: select status * refactor: add i18n * refactor: add dialog --------- Co-authored-by: puriphatt Co-authored-by: Thanaphon Frappet --- src/i18n/eng.ts | 2 ++ src/i18n/tha.ts | 1 + src/pages/05_quotation/PaymentForm.vue | 44 ++++++++++++++------------ 3 files changed, 27 insertions(+), 20 deletions(-) diff --git a/src/i18n/eng.ts b/src/i18n/eng.ts index 5c895d86..bfa7529f 100644 --- a/src/i18n/eng.ts +++ b/src/i18n/eng.ts @@ -795,6 +795,8 @@ export default { headquartersNotEstablished: 'Headoffice not established', warningClose: 'Incomplte edit data, Do you want to close?', close: 'Do you want to close this window?', + + confirmChangeStatus: 'Do you want to change your status?', }, action: { ok: 'OK', diff --git a/src/i18n/tha.ts b/src/i18n/tha.ts index 362d5f30..42f8058e 100644 --- a/src/i18n/tha.ts +++ b/src/i18n/tha.ts @@ -791,6 +791,7 @@ export default { headquartersNotEstablished: 'ยังไม่ได้สร้างสำนักงานใหญ่', warningClose: 'มีการแก้ไขที่ยังไม่ได้บันทึก คุณต้องการปิดใช่หรือไม่', close: 'คุณต้องการปิดหน้าต่างนี้ใช่หรือไม่', + confirmChangeStatus: 'คุณต้องการเปลี่ยนสถานะใช่หรือไม่', }, action: { ok: 'ยืนยัน', diff --git a/src/pages/05_quotation/PaymentForm.vue b/src/pages/05_quotation/PaymentForm.vue index e8251077..b273eec4 100644 --- a/src/pages/05_quotation/PaymentForm.vue +++ b/src/pages/05_quotation/PaymentForm.vue @@ -1,10 +1,14 @@