Merge pull request #670 from bigcapitalhq/upload-company-logo

feat: Upload company logo to invoice templates
This commit is contained in:
Ahmed Bouhuolia
2024-09-24 20:31:12 +02:00
committed by GitHub
19 changed files with 445 additions and 69 deletions

View File

@@ -20,7 +20,7 @@ export interface InvoicePaperTemplateProps {
secondaryColor?: string;
showCompanyLogo?: boolean;
companyLogo?: string;
companyLogoUri?: string;
showInvoiceNumber?: boolean;
invoiceNumber?: string;
@@ -95,7 +95,7 @@ export function InvoicePaperTemplate({
companyName = 'Bigcapital Technology, Inc.',
showCompanyLogo = true,
companyLogo,
companyLogoUri,
dueDate = 'September 3, 2024',
dueDateLabel = 'Date due',
@@ -185,7 +185,7 @@ export function InvoicePaperTemplate({
primaryColor={primaryColor}
secondaryColor={secondaryColor}
showCompanyLogo={showCompanyLogo}
companyLogo={companyLogo}
companyLogo={companyLogoUri}
bigtitle={'Invoice'}
>
<Stack spacing={24}>