mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: Uploading company logo
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
import { FColorInput } from '@/components/Forms/FColorInput';
|
||||
import { Overlay } from '../../Invoices/InvoiceCustomize/Overlay';
|
||||
import { useIsTemplateNamedFilled } from '@/containers/BrandingTemplates/utils';
|
||||
import { BrandingCompanyLogoUploadField } from '@/containers/ElementCustomize/components/BrandingCompanyLogoUploadField';
|
||||
|
||||
export function PaymentReceivedCustomizeGeneralField() {
|
||||
const isTemplateNameFilled = useIsTemplateNamedFilled();
|
||||
@@ -64,15 +65,24 @@ export function PaymentReceivedCustomizeGeneralField() {
|
||||
/>
|
||||
</FFormGroup>
|
||||
|
||||
<FFormGroup name={'showCompanyLogo'} label={'Logo'} fastField>
|
||||
<FSwitch
|
||||
<Stack spacing={10}>
|
||||
<FFormGroup
|
||||
name={'showCompanyLogo'}
|
||||
label={'Display company logo in the paper'}
|
||||
style={{ fontSize: 14 }}
|
||||
large
|
||||
label={'Logo'}
|
||||
fastField
|
||||
/>
|
||||
</FFormGroup>
|
||||
style={{ marginBottom: 0 }}
|
||||
>
|
||||
<FSwitch
|
||||
name={'showCompanyLogo'}
|
||||
label={'Display company logo in the paper'}
|
||||
style={{ fontSize: 14 }}
|
||||
large
|
||||
fastField
|
||||
/>
|
||||
</FFormGroup>
|
||||
|
||||
<BrandingCompanyLogoUploadField />
|
||||
</Stack>
|
||||
</Stack>
|
||||
</Overlay>
|
||||
</Stack>
|
||||
|
||||
Reference in New Issue
Block a user