From b1e7720bd9b7f2414ac8d10d1f70dfff79e3f0fc Mon Sep 17 00:00:00 2001 From: elforjani13 <39470382+elforjani13@users.noreply.github.com> Date: Mon, 4 Apr 2022 17:58:39 +0200 Subject: [PATCH] BIG-378: add Localize to invoice. --- src/containers/Entries/components.js | 5 ++++- .../Sales/Invoices/InvoiceForm/InvoiceFormHeaderFields.js | 2 +- src/lang/ar/index.json | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/containers/Entries/components.js b/src/containers/Entries/components.js index d7877cd1b..5cc5f14ba 100644 --- a/src/containers/Entries/components.js +++ b/src/containers/Entries/components.js @@ -43,7 +43,10 @@ export function ActionsCellRenderer({ const exampleMenu = ( - + } + /> ); diff --git a/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormHeaderFields.js b/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormHeaderFields.js index 241022488..5296e96a6 100644 --- a/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormHeaderFields.js +++ b/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormHeaderFields.js @@ -147,7 +147,7 @@ function InvoiceFormHeaderFields({ - + {/* ----------- Due date ----------- */} {({ form, field: { value }, meta: { error, touched } }) => ( diff --git a/src/lang/ar/index.json b/src/lang/ar/index.json index 9e069b70f..f70a77f2c 100644 --- a/src/lang/ar/index.json +++ b/src/lang/ar/index.json @@ -1960,6 +1960,7 @@ "invoice_form.label.payment_amount": "مبلغ المدفوع", "invoice_form.label.invoice_message": "رسالة الفاتورة", "invoice_form.invoice_message.placeholder": "Thanks for your business and have a great day!", + "invoice_form.label.terms_conditions": "الشروط والأحكام", "invoice_form.terms_and_conditions.placeholder": "Enter the terms and conditions of your business to be displayed in your transaction", "receipt_form.label.total": "إجمالي", "receipt_form.label.subtotal": "المجموع",