{/* --------- Statement --------- */}
diff --git a/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveFormHeader.js b/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveFormHeader.js
index ee2a95d4f..72f6f5294 100644
--- a/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveFormHeader.js
+++ b/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveFormHeader.js
@@ -3,6 +3,7 @@ import { sumBy } from 'lodash';
import { useFormikContext } from 'formik';
import classNames from 'classnames';
import { Money } from 'components';
+import { FormattedMessage as T } from 'react-intl';
import { CLASSES } from 'common/classes';
import PaymentReceiveHeaderFields from './PaymentReceiveHeaderFields';
@@ -33,7 +34,9 @@ function PaymentReceiveFormHeader({
- Amount Received
+
+
+
diff --git a/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveHeaderFields.js b/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveHeaderFields.js
index 091d38e24..71cd16e45 100644
--- a/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveHeaderFields.js
+++ b/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveHeaderFields.js
@@ -70,9 +70,10 @@ function PaymentReceiveHeaderFields({
const customerFieldRef = useAutofocus();
// Calculates the full-amount received.
- const totalDueAmount = useMemo(() => safeSumBy(entries, 'due_amount'), [
- entries,
- ]);
+ const totalDueAmount = useMemo(
+ () => safeSumBy(entries, 'due_amount'),
+ [entries],
+ );
// Handle receive full-amount link click.
const handleReceiveFullAmountClick = () => {
const newEntries = fullAmountPaymentEntries(entries);
@@ -200,7 +201,7 @@ function PaymentReceiveHeaderFields({
small={true}
minimal={true}
>
- Receive full amount (
+ (
)
@@ -232,7 +233,11 @@ function PaymentReceiveHeaderFields({
}}
tooltip={true}
tooltipProps={{
- content: 'Setting your auto-generated Payment Receive number',
+ content: (
+
+ ),
position: Position.BOTTOM_LEFT,
}}
/>
diff --git a/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveItemsTable.js b/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveItemsTable.js
index 192ba8ecd..c31f0d804 100644
--- a/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveItemsTable.js
+++ b/client/src/containers/Sales/PaymentReceives/PaymentReceiveForm/PaymentReceiveItemsTable.js
@@ -2,6 +2,7 @@ import React, { useCallback } from 'react';
import { CloudLoadingIndicator } from 'components';
import classNames from 'classnames';
import { useFormikContext } from 'formik';
+import { FormattedMessage as T } from 'react-intl';
import { CLASSES } from 'common/classes';
import { usePaymentReceiveInnerContext } from './PaymentReceiveInnerProvider';
@@ -15,32 +16,37 @@ import { compose, updateTableRow } from 'utils';
export default function PaymentReceiveItemsTable({
entries,
onUpdateData,
- currencyCode
+ currencyCode,
}) {
// Payment receive form context.
- const {
- isDueInvoicesFetching,
- } = usePaymentReceiveInnerContext();
+ const { isDueInvoicesFetching } = usePaymentReceiveInnerContext();
// Payment receive entries form context.
const columns = usePaymentReceiveEntriesColumns();
// Formik context.
- const { values: { customer_id } } = useFormikContext();
+ const {
+ values: { customer_id },
+ } = useFormikContext();
// No results message.
- const noResultsMessage = customer_id
- ? 'There is no receivable invoices for this customer that can be applied for this payment'
- : 'Please select a customer to display all open invoices for it.';
+ const noResultsMessage = customer_id ? (
+
+ ) : (
+
+ );
// Handle update data.
- const handleUpdateData = useCallback((rowIndex, columnId, value) => {
- const newRows = compose(
- updateTableRow(rowIndex, columnId, value),
- )(entries);
+ const handleUpdateData = useCallback(
+ (rowIndex, columnId, value) => {
+ const newRows = compose(updateTableRow(rowIndex, columnId, value))(
+ entries,
+ );
- onUpdateData(newRows);
- }, [entries, onUpdateData]);
+ onUpdateData(newRows);
+ },
+ [entries, onUpdateData],
+ );
return (
@@ -53,11 +59,11 @@ export default function PaymentReceiveItemsTable({
payload={{
errors: [],
updateData: handleUpdateData,
- currencyCode
+ currencyCode,
}}
noResults={noResultsMessage}
footer={true}
/>
);
-}
\ No newline at end of file
+}
diff --git a/client/src/containers/Sales/PaymentReceives/PaymentsLanding/PaymentReceivesEmptyStatus.js b/client/src/containers/Sales/PaymentReceives/PaymentsLanding/PaymentReceivesEmptyStatus.js
index f307dc64a..53bd652f2 100644
--- a/client/src/containers/Sales/PaymentReceives/PaymentsLanding/PaymentReceivesEmptyStatus.js
+++ b/client/src/containers/Sales/PaymentReceives/PaymentsLanding/PaymentReceivesEmptyStatus.js
@@ -2,17 +2,17 @@ import React from 'react';
import { Button, Intent } from '@blueprintjs/core';
import { useHistory } from 'react-router-dom';
import { EmptyStatus } from 'components';
+import { FormattedMessage as T } from 'react-intl';
export default function PaymentReceivesEmptyStatus() {
const history = useHistory();
return (
}
description={
- 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 PaymentReceivesEmptyStatus() {
history.push('/payment-receives/new');
}}
>
- New payment receive
+
>
}
diff --git a/client/src/containers/Sales/Receipts/ReceiptForm/ReceiptFormHeaderFields.js b/client/src/containers/Sales/Receipts/ReceiptForm/ReceiptFormHeaderFields.js
index a3e2ecb7b..49c7396c5 100644
--- a/client/src/containers/Sales/Receipts/ReceiptForm/ReceiptFormHeaderFields.js
+++ b/client/src/containers/Sales/Receipts/ReceiptForm/ReceiptFormHeaderFields.js
@@ -65,10 +65,7 @@ function ReceiptFormHeader({
};
// Synsc receipt number settings with the form.
- useObserveReceiptNoSettings(
- receiptNumberPrefix,
- receiptNextNumber,
- );
+ useObserveReceiptNoSettings(receiptNumberPrefix, receiptNextNumber);
return (
@@ -175,7 +172,11 @@ function ReceiptFormHeader({
}}
tooltip={true}
tooltipProps={{
- content: 'Setting your auto-generated receipt number',
+ content: (
+
+ ),
position: Position.BOTTOM_LEFT,
}}
inputProps={{
diff --git a/client/src/lang/en/index.js b/client/src/lang/en/index.js
index 15e63018b..789c8bb58 100644
--- a/client/src/lang/en/index.js
+++ b/client/src/lang/en/index.js
@@ -1066,5 +1066,6 @@ export default {
transaction_number: 'Transaction number',
cash_flow_statement: 'Cash Flow Statement',
statement_of_cash_flow: 'Statement of Cash Flow ',
- inventory_item_details:'Inventory Item Details'
+ inventory_item_details: 'Inventory Item Details',
};
+
diff --git a/client/src/lang/en/index.json b/client/src/lang/en/index.json
index 4770e810e..ec4e325f1 100644
--- a/client/src/lang/en/index.json
+++ b/client/src/lang/en/index.json
@@ -31,7 +31,7 @@
"phone_number": "Phone Number",
"you_email_address_is": "You email address is",
"you_will_use_this_address_to_sign_in_to_bigcapital": "You will use this address to sign in to Bigcapital.",
- "signing_in_or_creating":"By signing in or creating an account, you agree with our Terms & Conditions and Privacy Statement ",
+ "signing_in_or_creating": "By signing in or creating an account, you agree with our Terms & Conditions and Privacy Statement ",
"and": "And",
"create_account": "Create Account",
"success": "Success",
@@ -878,5 +878,58 @@
"transaction_number": "Transaction number",
"cash_flow_statement": "Cash Flow Statement",
"statement_of_cash_flow": "Statement of Cash Flow ",
- "inventory_item_details": "Inventory Item Details"
+ "inventory_item_details": "Inventory Item Details",
+ "sales_invoices": "Sales invoices",
+ "tracking_sales_invoices_with_your_customers": "Tracking sales invoices with your customers with payment due date.",
+ "sales_estimates": "Sales estimates",
+ "manage_your_sales_estimates_to_create_quotes": "Manage your sales estimates to create quotes that can later be turned to a sale invoice.",
+ "sales_receipts": "Sales receipts",
+ "manage_sales_receipts_for_sales_that_get_paid": "Manage sales receipts for sales that get paid immediately from the customer.",
+ "manage_the_customers_relations_with_customer": "Manage the customers relations with customer receivable and credit balances.",
+ "customers_payment": "Customers payment",
+ "manage_payment_transactions_from_your_customers": "Manage payment transactions from your customers with sale invoices.",
+ "purchase_invoices": "Purchase invoices",
+ "manage_the_purchase_invoices_with_your_vendors": "Manage the purchase invoices with your vendors with payment due date.",
+ "manage_the_vendors_relations_with_vendor_relations": "Manage the vendors relations with vendor payable and debit balances.",
+ "vendors_payments": "Vendors payments",
+ "manage_payments_transactions_to_your_vendors": "Manage payments transactions to your vendors with purchase invoices.",
+ "manage_your_accounts_chart_to_record_your_transactions_and_categories": "Manage your accounts chart to record your transactions and categories your transactions in parent accounts.",
+ "manage_manual_journal_transactions_on_accounts": "Manage manual journal transactions on accounts, cost centra and projects.",
+ "track_your_indirect_expenses_under_specific_categories": "Track your indirect expenses under specific categories such as payroll, rent.",
+ "financial_statements": "Financial statements",
+ "show_financial_reports_about_your_organization": "Show financial reports about your organization to summarize your business’s financial performance.",
+ "products_services": "Products & Services",
+ "manage_your_products_inventory_or_non_inventory": "Manage your products (inventory or non-inventory) and services and place them into categories.",
+ "products_services_categories": "Products & Services Categories",
+ "group_your_products_and_service": "Group your products and service into different categories.",
+ "inventory_adjustments": "Inventory Adjustments",
+ "manage_your_inventory_adjustment_of_inventory_items": "Manage your inventory adjustment of inventory items.",
+ "page_size": "Page size",
+ "there_is_no_items_categories_in_table_yet": "There is no items categories in table yet.",
+ "sales_inventory": "Sales & inventory",
+ "accounting": "Accounting",
+ "system": "SYSTEM",
+ "it_s_time_to_send_estimates_to_your_customers": "It's time to send estimates to your customers",
+ "it_is_a_long_established_fact_that_a_reader": " It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.",
+ "new_sale_estimate": "New sale estimate",
+ "learn_more": "Learn more",
+ "back_to_list": "Back to list.",
+ "estimate_details": "Estimate details",
+ "attachments_maximum": "Attachments: Maximum size: 20MB",
+ "drag_drop_files_here_or_click_here": "Drag/Drop files here or click here.",
+ "enter_an_item": "Enter an item...",
+ "i_will_enter_them_manually_each_time": "I will enter them manually each time",
+ "manual_entering_for_this_transaction": "Manual entering for this transaction.",
+ "due_amount": "Due Amount",
+ "invoice_details": "Invoice details",
+ "setting_your_auto_generated_estimate_number": "Setting your auto-generated estimate number",
+ "setting_your_auto_generated_journal_number": "Setting your auto-generated journal number",
+ "setting_your_auto_generated_invoice_number": "Setting your auto-generated invoice number",
+ "setting_your_auto_generated_payment_receive_number": "Setting your auto-generated Payment Receive number",
+ "the_organization_doesn_t_receive_money_yet": "The organization doesn't receive money, yet!",
+ "new_payment_receive": "New payment receive",
+ "there_is_no_receivable_invoices_for_this_customer": "There is no receivable invoices for this customer that can be applied for this payment",
+ "please_select_a_customer_to_display_all_open_invoices_for_it": "Please select a customer to display all open invoices for it.",
+ "payment_receive_details": "Payment receive details",
+ "receive_full_amount": "Receive full amount"
}
\ No newline at end of file