diff --git a/src/containers/Accounting/JournalsLanding/components.js b/src/containers/Accounting/JournalsLanding/components.js index 79207ca15..1384e3a87 100644 --- a/src/containers/Accounting/JournalsLanding/components.js +++ b/src/containers/Accounting/JournalsLanding/components.js @@ -179,6 +179,7 @@ export const ActionsMenu = ({ /> + } diff --git a/src/containers/CashFlow/CashFlowAccounts/CashflowAccountsGrid.js b/src/containers/CashFlow/CashFlowAccounts/CashflowAccountsGrid.js index cf06161b9..dc6104046 100644 --- a/src/containers/CashFlow/CashFlowAccounts/CashflowAccountsGrid.js +++ b/src/containers/CashFlow/CashFlowAccounts/CashflowAccountsGrid.js @@ -271,6 +271,7 @@ function CashflowAccountContextMenu({ + } diff --git a/src/containers/Customers/CustomersLanding/components.js b/src/containers/Customers/CustomersLanding/components.js index 9d878bbf4..2eacc0103 100644 --- a/src/containers/Customers/CustomersLanding/components.js +++ b/src/containers/Customers/CustomersLanding/components.js @@ -63,6 +63,7 @@ export function ActionsMenu({ + } text={intl.get('delete_customer')} diff --git a/src/containers/Drawers/BillDrawer/BillPaymentTransactions/components.js b/src/containers/Drawers/BillDrawer/BillPaymentTransactions/components.js index 62fd6983d..36ed3e7dc 100644 --- a/src/containers/Drawers/BillDrawer/BillPaymentTransactions/components.js +++ b/src/containers/Drawers/BillDrawer/BillPaymentTransactions/components.js @@ -1,6 +1,6 @@ import React from 'react'; import intl from 'react-intl-universal'; -import { Intent, Menu, MenuItem } from '@blueprintjs/core'; +import { Intent, Menu, MenuItem, MenuDivider } from '@blueprintjs/core'; import clsx from 'classnames'; import { CLASSES } from '../../../../common/classes'; import { Can, FormatDateCell, Icon } from '../../../../components'; @@ -27,6 +27,7 @@ export function ActionsMenu({ /> + + + + + + + } text={intl.get('delete_expense')} diff --git a/src/containers/Items/components.js b/src/containers/Items/components.js index e4bf09d98..5de8e29ff 100644 --- a/src/containers/Items/components.js +++ b/src/containers/Items/components.js @@ -140,6 +140,7 @@ export function ItemsActionMenuList({ + } diff --git a/src/containers/Preferences/Currencies/components.js b/src/containers/Preferences/Currencies/components.js index 431628b27..2c25b607a 100644 --- a/src/containers/Preferences/Currencies/components.js +++ b/src/containers/Preferences/Currencies/components.js @@ -5,6 +5,7 @@ import { Button, Position, MenuItem, + MenuDivider, Intent, } from '@blueprintjs/core'; import intl from 'react-intl-universal'; @@ -18,7 +19,6 @@ export function ActionMenuList({ row: { original }, payload: { onEditCurrency, onDeleteCurrency }, }) { - return ( + } text={intl.get('delete_currency')} @@ -51,8 +52,6 @@ export const ActionsCell = (props) => { }; export function useCurrenciesTableColumns() { - - return useMemo( () => [ { @@ -69,7 +68,7 @@ export function useCurrenciesTableColumns() { { Header: intl.get('currency_sign'), width: 120, - accessor: 'currency_sign' + accessor: 'currency_sign', }, { id: 'actions', diff --git a/src/containers/Purchases/Bills/BillsLanding/components.js b/src/containers/Purchases/Bills/BillsLanding/components.js index ebd1771d0..4da4aa53f 100644 --- a/src/containers/Purchases/Bills/BillsLanding/components.js +++ b/src/containers/Purchases/Bills/BillsLanding/components.js @@ -83,6 +83,7 @@ export function ActionsMenu({ onClick={safeCallback(onAllocateLandedCost, original)} /> + + + + + + ({ diff --git a/src/containers/Sales/PaymentReceives/PaymentsLanding/components.js b/src/containers/Sales/PaymentReceives/PaymentsLanding/components.js index de95d270a..c679f95e6 100644 --- a/src/containers/Sales/PaymentReceives/PaymentsLanding/components.js +++ b/src/containers/Sales/PaymentReceives/PaymentsLanding/components.js @@ -41,6 +41,7 @@ export function ActionsMenu({ /> + + + } text={intl.get('delete_vendor')}