mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
fix: Invoice pdf customize
This commit is contained in:
@@ -76,7 +76,6 @@ export function PaymentReceivedCustomizeGeneralField() {
|
||||
name={'showCompanyLogo'}
|
||||
label={'Display company logo in the paper'}
|
||||
style={{ fontSize: 14 }}
|
||||
large
|
||||
fastField
|
||||
/>
|
||||
</FFormGroup>
|
||||
|
||||
@@ -41,10 +41,15 @@ export interface PaymentReceivedPaperTemplateProps extends PaperTemplateProps {
|
||||
}
|
||||
|
||||
export function PaymentReceivedPaperTemplate({
|
||||
// # Colors
|
||||
primaryColor,
|
||||
secondaryColor,
|
||||
|
||||
// # Company logo
|
||||
showCompanyLogo = true,
|
||||
companyLogo,
|
||||
companyLogoUri,
|
||||
|
||||
// # Company name
|
||||
companyName = 'Bigcapital Technology, Inc.',
|
||||
|
||||
billedToAddress = [
|
||||
@@ -94,7 +99,7 @@ export function PaymentReceivedPaperTemplate({
|
||||
primaryColor={primaryColor}
|
||||
secondaryColor={secondaryColor}
|
||||
showCompanyLogo={showCompanyLogo}
|
||||
companyLogo={companyLogo}
|
||||
companyLogoUri={companyLogoUri}
|
||||
bigtitle={'Payment'}
|
||||
>
|
||||
<Stack spacing={24}>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
export const initialValues = {
|
||||
templateName: '',
|
||||
|
||||
|
||||
// Colors
|
||||
primaryColor: '#2c3dd8',
|
||||
secondaryColor: '#2c3dd8',
|
||||
|
||||
// Company logo.
|
||||
showCompanyLogo: true,
|
||||
companyLogo:
|
||||
'https://cdn-development.mercury.com/demo-assets/avatars/mercury-demo-dark.png',
|
||||
companyLogoUri: '',
|
||||
companyLogokey: '',
|
||||
|
||||
// Top details.
|
||||
showPaymentReceivedNumber: true,
|
||||
|
||||
@@ -7,7 +7,6 @@ export interface PaymentReceivedCustomizeValues extends BrandingTemplateValues {
|
||||
|
||||
// Company Logo
|
||||
showCompanyLogo?: boolean;
|
||||
companyLogo?: string;
|
||||
|
||||
// Top details.
|
||||
showInvoiceNumber?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user