- It is a long established fact that a reader will be distracted by the
- readable content of a page when looking at its layout.
+
}
action={
@@ -24,11 +24,11 @@ export default function InvoicesEmptyStatus() {
history.push('/expenses/new');
}}
>
- New expense
+
>
}
diff --git a/client/src/containers/Sales/Invoices/InvoiceDetails/InvoicePaper.js b/client/src/containers/Sales/Invoices/InvoiceDetails/InvoicePaper.js
index 2e0d01757..5269a6c82 100644
--- a/client/src/containers/Sales/Invoices/InvoiceDetails/InvoicePaper.js
+++ b/client/src/containers/Sales/Invoices/InvoiceDetails/InvoicePaper.js
@@ -1,19 +1,20 @@
import React from 'react';
import { useInvoiceDrawerContext } from './InvoiceDrawerProvider';
import PaperTemplate from 'containers/Drawers/PaperTemplate/PaperTemplate';
+import { formatMessage } from 'services/intl';
export default function InvoicePaper() {
const { invoice, entries } = useInvoiceDrawerContext();
const propLabels = {
labels: {
- name: 'Invoice',
- billedTo: 'Billed to',
- date: 'Invoice date',
- refNo: 'Invoice No.',
- billedFrom: 'Billed from',
- amount: 'Invoice amount',
- dueDate: 'Due date',
+ name: formatMessage({ id: 'invoice' }),
+ billedTo: formatMessage({ id: 'billed_to' }),
+ date: formatMessage({ id: 'invoice_date_' }),
+ refNo: formatMessage({ id: 'invoice_no__' }),
+ billedFrom: formatMessage({ id: 'billed_from' }),
+ amount: formatMessage({ id: 'invoice_amount' }),
+ dueDate: formatMessage({ id: 'due_date_' }),
},
};
diff --git a/client/src/containers/Sales/Receipts/ReceiptDetails/ReceiptPaper.js b/client/src/containers/Sales/Receipts/ReceiptDetails/ReceiptPaper.js
index 80473cd1f..37ceb109f 100644
--- a/client/src/containers/Sales/Receipts/ReceiptDetails/ReceiptPaper.js
+++ b/client/src/containers/Sales/Receipts/ReceiptDetails/ReceiptPaper.js
@@ -1,19 +1,20 @@
import React from 'react';
import { useReceiptDrawerContext } from './ReceiptDrawerProvider';
import PaperTemplate from 'containers/Drawers/PaperTemplate/PaperTemplate';
+import { formatMessage } from 'services/intl';
export default function ReceiptPaper() {
const { receipt, entries } = useReceiptDrawerContext();
const propLabels = {
labels: {
- name: 'Receipt',
- billedTo: 'Billed to',
- date: 'Receipt date',
- refNo: 'Receipt No.',
- billedFrom: 'Billed from',
- amount: 'Receipt amount',
- dueDate: 'Due date',
+ name: formatMessage({ id: 'receipt_' }),
+ billedTo: formatMessage({ id: 'billed_to' }),
+ date: formatMessage({ id: 'receipt_date_' }),
+ refNo: formatMessage({ id: 'receipt_no' }),
+ billedFrom: formatMessage({ id: 'billed_from' }),
+ amount: formatMessage({ id: 'receipt_amount' }),
+ dueDate: formatMessage({ id: 'due_date_' }),
},
};
diff --git a/client/src/lang/en/index.json b/client/src/lang/en/index.json
index f3aae6f4a..061a7dc34 100644
--- a/client/src/lang/en/index.json
+++ b/client/src/lang/en/index.json
@@ -939,48 +939,65 @@
"there_is_no_payable_bills_for_this_vendor_that_can_be_applied_for_this_payment": "There is no payable bills for this vendor that can be applied for this payment",
"please_select_a_vendor_to_display_all_open_bills_for_it": "Please select a vendor to display all open bills for it.",
"payment_made_details": "Payment made details",
- "there_is_no_inventory_adjustments_transactions_yet":"There is no inventory adjustments transactions yet.",
- "create_and_manage_your_organization_s_customers":"Create and manage your organization's customers.",
- "salutation":"Salutation",
- "work":"work",
- "mobile":"Mobile",
- "phone":"Phone",
- "create_and_manage_your_organization_s_vendors":"Create and manage your organization's vendors.",
-"balance_sheet_report":"Balance Sheet Report",
-"reports_a_company_s_assets_liabilities_and_shareholders":"Reports a company's assets, liabilities and shareholders' equity at a specific point in time with comparison period(s).",
-"summarizes_the_credit_and_debit_balance_of_each_account":"Summarizes the credit and debit balance of each account in your chart of accounts at a specific point in time.",
-"profit_loss_report":"Profit/Loss Report",
-"reports_the_revenues_costs_and_expenses":"Reports the revenues, costs and expenses incurred during a specific point in time with comparison period(s).",
-"reports_inflow_and_outflow_of_cash_and_cash_equivalents":"Reports inflow and outflow of cash and cash equivalents between a specific two points of time.",
-"journal_report":"Journal Report",
-"the_debit_and_credit_entries_of_system_transactions":"The debit and credit entries of system transactions, sorted by date.",
-"general_ledger_report":"General Ledger Report",
-"reports_every_transaction_going_in_and_out_of_your":"Reports every transaction going in and out of your accounts and organized by accounts and date to monitoring activity of accounts.",
-"summarize_total_unpaid_balances_of_customers_invoices":"Summarize total unpaid balances of customers invoices with number of days the unpaid invoice is overdue.",
-"summarize_total_unpaid_balances_of_vendors_purchase":"Summarize total unpaid balances of vendors purchase invoices with the number of days the unpaid invoice is overdue.",
-"sales_purchases_reports":"Sales/Purchases Reports",
-"reports_every_transaction_going_in_and_out_of_your_items":"Reports every transaction going in and out of your items to monitoring activity of items.",
-"reports_every_transaction_going_in_and_out_of_each_vendor_supplier":"Reports every transaction going in and out of each vendor/supplier.",
-"reports_every_transaction_going_in_and_out_of_each_customer":"Reports every transaction going in and out of each customer.",
-"summerize_the_total_amount_your_business_owes_each_vendor":"Summarize the total amount your business owes each vendor.",
-"summerize_the_total_amount_of_each_customer_owes_your_business":"Summarize the total amount of each customer owes your business.",
-"summarize_the_business_s_purchase_items_quantity_cost_and_average":"Summarize the business’s purchase items quantity, cost and average cost rate of each item during a specific point in time.",
-"summarize_the_business_s_sold_items_quantity_income_and_average_income_rate":"Summarize the business’s sold items quantity, income and average income rate of each item during a specific point in time.",
-"shows_the_average_age_of_unresolved_issues_for_a_project_or_filter":"Shows the average age of unresolved issues for a project or filter. This helps you see whether your backlog is being kept up to date",
-"categories":"Categories",
-"duplicate_item":"Duplicate item",
-"summerize_your_transactions_for_each_inventory_item":"Summarize your transactions for each inventory item and how they affect quantity, valuation and weighted average.",
-"summerize_how_much_each_customer_owes_your_business":"Summarize how much each customer owes your business.",
-"duplicate_customer":"Duplicate customer",
-"duplicate_vendor":"Duplicate vendor",
-"new_billing":"New Billing",
-"shown_on_sales_forms_and_purchase_orders":"Shown on sales forms and purchase orders.",
-"for_reporting_you_can_specify_any_month":"For reporting, you can specify any month as the start of your financial year (also called your financial reporting year or accounting year).",
-"you_can_t_change_the_base_currency_as_there_are_transactions":"You can't change the base currency as there are transactions recorded in your organization.",
-"make_account_code_required_when_create_a_new_accounts":"Make account code required when create a new accounts.",
-"should_account_code_be_unique_when_create_a_new_account":"Should account code be unique when create a new account.",
-"select_a_preferred_account_to_deposit_into_it_after_customer_make_payment":"Select a preferred account to deposit into it after customer make payment.",
-"select_a_preferred_account_to_deposit_into_it_vendor_advanced_deposits":"Select a preferred account to deposit into it vendor advanced deposits.",
-"roles":"Roles"
-}
-
+ "there_is_no_inventory_adjustments_transactions_yet": "There is no inventory adjustments transactions yet.",
+ "create_and_manage_your_organization_s_customers": "Create and manage your organization's customers.",
+ "salutation": "Salutation",
+ "work": "work",
+ "mobile": "Mobile",
+ "phone": "Phone",
+ "create_and_manage_your_organization_s_vendors": "Create and manage your organization's vendors.",
+ "balance_sheet_report": "Balance Sheet Report",
+ "reports_a_company_s_assets_liabilities_and_shareholders": "Reports a company's assets, liabilities and shareholders' equity at a specific point in time with comparison period(s).",
+ "summarizes_the_credit_and_debit_balance_of_each_account": "Summarizes the credit and debit balance of each account in your chart of accounts at a specific point in time.",
+ "profit_loss_report": "Profit/Loss Report",
+ "reports_the_revenues_costs_and_expenses": "Reports the revenues, costs and expenses incurred during a specific point in time with comparison period(s).",
+ "reports_inflow_and_outflow_of_cash_and_cash_equivalents": "Reports inflow and outflow of cash and cash equivalents between a specific two points of time.",
+ "journal_report": "Journal Report",
+ "the_debit_and_credit_entries_of_system_transactions": "The debit and credit entries of system transactions, sorted by date.",
+ "general_ledger_report": "General Ledger Report",
+ "reports_every_transaction_going_in_and_out_of_your": "Reports every transaction going in and out of your accounts and organized by accounts and date to monitoring activity of accounts.",
+ "summarize_total_unpaid_balances_of_customers_invoices": "Summarize total unpaid balances of customers invoices with number of days the unpaid invoice is overdue.",
+ "summarize_total_unpaid_balances_of_vendors_purchase": "Summarize total unpaid balances of vendors purchase invoices with the number of days the unpaid invoice is overdue.",
+ "sales_purchases_reports": "Sales/Purchases Reports",
+ "reports_every_transaction_going_in_and_out_of_your_items": "Reports every transaction going in and out of your items to monitoring activity of items.",
+ "reports_every_transaction_going_in_and_out_of_each_vendor_supplier": "Reports every transaction going in and out of each vendor/supplier.",
+ "reports_every_transaction_going_in_and_out_of_each_customer": "Reports every transaction going in and out of each customer.",
+ "summerize_the_total_amount_your_business_owes_each_vendor": "Summarize the total amount your business owes each vendor.",
+ "summerize_the_total_amount_of_each_customer_owes_your_business": "Summarize the total amount of each customer owes your business.",
+ "summarize_the_business_s_purchase_items_quantity_cost_and_average": "Summarize the business’s purchase items quantity, cost and average cost rate of each item during a specific point in time.",
+ "summarize_the_business_s_sold_items_quantity_income_and_average_income_rate": "Summarize the business’s sold items quantity, income and average income rate of each item during a specific point in time.",
+ "shows_the_average_age_of_unresolved_issues_for_a_project_or_filter": "Shows the average age of unresolved issues for a project or filter. This helps you see whether your backlog is being kept up to date",
+ "categories": "Categories",
+ "duplicate_item": "Duplicate item",
+ "summerize_your_transactions_for_each_inventory_item": "Summarize your transactions for each inventory item and how they affect quantity, valuation and weighted average.",
+ "summerize_how_much_each_customer_owes_your_business": "Summarize how much each customer owes your business.",
+ "duplicate_customer": "Duplicate customer",
+ "duplicate_vendor": "Duplicate vendor",
+ "new_billing": "New Billing",
+ "shown_on_sales_forms_and_purchase_orders": "Shown on sales forms and purchase orders.",
+ "for_reporting_you_can_specify_any_month": "For reporting, you can specify any month as the start of your financial year (also called your financial reporting year or accounting year).",
+ "you_can_t_change_the_base_currency_as_there_are_transactions": "You can't change the base currency as there are transactions recorded in your organization.",
+ "make_account_code_required_when_create_a_new_accounts": "Make account code required when create a new accounts.",
+ "should_account_code_be_unique_when_create_a_new_account": "Should account code be unique when create a new account.",
+ "select_a_preferred_account_to_deposit_into_it_after_customer_make_payment": "Select a preferred account to deposit into it after customer make payment.",
+ "select_a_preferred_account_to_deposit_into_it_vendor_advanced_deposits": "Select a preferred account to deposit into it vendor advanced deposits.",
+ "roles": "Roles",
+ "closing_balance": "Closing Balance",
+ "view_more_transactions": "View more transactions.",
+ "there_is_no_results_in_the_table": "There is no results in the table.",
+ "create_your_first_journal_entries_on_accounts_chart": "Create your first journal entries on accounts chart.",
+ "journal_details": "Journal details",
+ "create_and_manage_your_organization_s_expenses": "Create and manage your organization's expenses",
+ "expense_amount": "Expense Amount",
+ "expense_details": "Expense details",
+ "sub_total": "Sub Total",
+ "estimate_": "Estimate",
+ "billed_to": "Billed to",
+ "estimate_no": "Estimate No.",
+ "billed_from": "Billed from",
+ "estimate_amount": "Estimate amount",
+ "invoice": "Invoice",
+ "receipt_": "Receipt",
+ "receipt_no": "Receipt No.",
+ "receipt_amount": "Receipt amount"
+}
\ No newline at end of file