mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
62 lines
1.5 KiB
JavaScript
62 lines
1.5 KiB
JavaScript
import React from 'react';
|
|
import styled from 'styled-components';
|
|
import { FFormGroup, FEditableText, FormattedMessage as T } from 'components';
|
|
|
|
export function InvoiceFormFooterLeft() {
|
|
return (
|
|
<React.Fragment>
|
|
{/* --------- Invoice message --------- */}
|
|
<InvoiceMsgFormGroup
|
|
name={'invoice_message'}
|
|
label={<T id={'invoice_message'} />}
|
|
hintText={'Will be displayed on the invoice'}
|
|
>
|
|
<FEditableText
|
|
name={'invoice_message'}
|
|
placeholder={'Thanks for your business and have a great day!'}
|
|
/>
|
|
</InvoiceMsgFormGroup>
|
|
|
|
{/* --------- Terms and conditions --------- */}
|
|
<TermsConditsFormGroup
|
|
label={<T id={'terms_conditions'} />}
|
|
name={'terms_conditions'}
|
|
>
|
|
<FEditableText
|
|
name={'terms_conditions'}
|
|
placeholder={
|
|
'Enter the terms and conditions of your business to be displayed in your transaction'
|
|
}
|
|
/>
|
|
</TermsConditsFormGroup>
|
|
</React.Fragment>
|
|
);
|
|
}
|
|
|
|
const InvoiceMsgFormGroup = styled(FFormGroup)`
|
|
&.bp3-form-group {
|
|
margin-bottom: 40px;
|
|
|
|
.bp3-label {
|
|
font-size: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.bp3-form-content {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
`;
|
|
|
|
const TermsConditsFormGroup = styled(FFormGroup)`
|
|
&.bp3-form-group {
|
|
|
|
.bp3-label {
|
|
font-size: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.bp3-form-content {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
`;
|