mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: wip invoice customize
This commit is contained in:
@@ -1,16 +1,44 @@
|
||||
import { Box, FFormGroup } from '@/components';
|
||||
import { FColorField } from './FColorField';
|
||||
import { Box, FFormGroup, FSwitch, Stack } from '@/components';
|
||||
import { FColorInput } from './FColorField';
|
||||
import styles from './InvoiceCustomizeFields.module.scss';
|
||||
import { Classes } from '@blueprintjs/core';
|
||||
|
||||
export function InvoiceCustomizeGeneralField() {
|
||||
return (
|
||||
<Box>
|
||||
<FFormGroup name={'primaryColor'} label={'Primary Color'} inline>
|
||||
<FColorField name={'primaryColor'} />
|
||||
<Stack style={{ padding: 20, flex: '1 1 auto' }}>
|
||||
<Stack>
|
||||
<h2>General Branding</h2>
|
||||
<p className={Classes.TEXT_MUTED}>
|
||||
Set your invoice details to be automatically applied every time
you
|
||||
create a new invoice.
|
||||
</p>
|
||||
</Stack>
|
||||
|
||||
<FFormGroup
|
||||
name={'primaryColor'}
|
||||
label={'Primary Color'}
|
||||
inline
|
||||
className={styles.fieldGroup}
|
||||
>
|
||||
<FColorInput name={'primaryColor'} />
|
||||
</FFormGroup>
|
||||
|
||||
<FFormGroup name={'secondaryColor'} label={'Secondary Color'} inline>
|
||||
<FColorField name={'secondaryColor'} />
|
||||
<FFormGroup
|
||||
name={'secondaryColor'}
|
||||
label={'Secondary Color'}
|
||||
inline
|
||||
className={styles.fieldGroup}
|
||||
>
|
||||
<FColorInput name={'secondaryColor'} />
|
||||
</FFormGroup>
|
||||
</Box>
|
||||
|
||||
<FFormGroup name={'showLogo'} label={'Logo'}>
|
||||
<FSwitch
|
||||
name={'showLogo'}
|
||||
label={'Display company logo in the paper'}
|
||||
large
|
||||
/>
|
||||
</FFormGroup>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user