diff --git a/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormFooter.js b/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormFooter.js index b25259b6c..57d990bc8 100644 --- a/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormFooter.js +++ b/src/containers/Sales/Invoices/InvoiceForm/InvoiceFormFooter.js @@ -1,57 +1,30 @@ import React from 'react'; -import { FastField } from 'formik'; import classNames from 'classnames'; -import { FormGroup, TextArea } from '@blueprintjs/core'; -import { FormattedMessage as T } from 'components'; -import { CLASSES } from 'common/classes'; -import { Row, Col, Postbox } from 'components'; -import Dragzone from 'components/Dragzone'; +import styled from 'styled-components'; -import { inputIntent } from 'utils'; +import { CLASSES } from 'common/classes'; +import { Paper, Row, Col } from 'components'; +import { InvoiceFormFooterLeft } from './InvoiceFormFooterLeft'; +import { InvoiceFormFooterRight } from './InvoiceFormFooterRight'; export default function InvoiceFormFooter() { return (
- } defaultOpen={false}> + - {/* --------- Invoice message --------- */} - - {({ field, meta: { error, touched } }) => ( - } - className={'form-group--invoice_message'} - intent={inputIntent({ error, touched })} - > -