diff --git a/client/src/common/classes.js b/client/src/common/classes.js index ca94a067a..dca1f9ad9 100644 --- a/client/src/common/classes.js +++ b/client/src/common/classes.js @@ -10,6 +10,7 @@ const CLASSES = { PAGE_FORM_HEADER_PRIMARY: 'page-form__primary-section', PAGE_FORM_HEADER_FIELDS: 'page-form__header-fields', PAGE_FORM_HEADER_BIG_NUMBERS: 'page-form__big-numbers', + PAGE_FORM_TABS: 'page-form__tabs', PAGE_FORM_FOOTER: 'page-form__footer', PAGE_FORM_FLOATING_ACTIONS: 'page-form__floating-actions', @@ -20,6 +21,9 @@ const CLASSES = { PAGE_FORM_RECEIPT: 'page-form--receipt', PAGE_FORM_PAYMENT_MADE: 'page-form--payment-made', PAGE_FORM_PAYMENT_RECEIVE: 'page-form--payment-receive', + PAGE_FORM_CUSTOMER: 'page-form--customer', + + FORM_GROUP_LIST_SELECT: 'form-group--select-list', CLOUD_SPINNER: 'cloud-spinner', IS_LOADING: 'is-loading', @@ -28,4 +32,4 @@ const CLASSES = { export { CLASSES, -} \ No newline at end of file +} diff --git a/client/src/components/CurrenciesSelectList.js b/client/src/components/CurrenciesSelectList.js index 2ae5788e5..fd15b44b7 100644 --- a/client/src/components/CurrenciesSelectList.js +++ b/client/src/components/CurrenciesSelectList.js @@ -2,18 +2,14 @@ import React, {useCallback} from 'react'; import { - FormGroup, MenuItem, Button, } from '@blueprintjs/core'; import { Select } from '@blueprintjs/select'; -import classNames from 'classnames'; -import { FormattedMessage as T } from 'react-intl'; export default function CurrenciesSelectList({ - formGroupProps, selectProps, onItemSelect, className, @@ -43,30 +39,18 @@ export default function CurrenciesSelectList({ }; return ( - } - className={ - classNames( - 'form-group--select-list', - 'form-group--currency', - className, - ) - } - {...formGroupProps} + } - itemRenderer={currencyItem} - itemPredicate={filterCurrenciesPredicator} - popoverProps={{ minimal: true }} - onItemSelect={onCurrencySelect} - {...selectProps} - > - - -