fix: Invoice pdf customize

This commit is contained in:
Ahmed Bouhuolia
2024-09-25 11:04:17 +02:00
parent 1c8e19378f
commit 2f9adfd908
21 changed files with 74 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { PaperTemplate, PaperTemplateTotalBorder } from './PaperTemplate';
import { Group, Stack } from '@/components';
import { Stack } from '@/components';
interface PapaerLine {
item?: string;
@@ -95,7 +95,7 @@ export function InvoicePaperTemplate({
companyName = 'Bigcapital Technology, Inc.',
showCompanyLogo = true,
companyLogoUri,
companyLogoUri = '',
dueDate = 'September 3, 2024',
dueDateLabel = 'Date due',
@@ -185,7 +185,7 @@ export function InvoicePaperTemplate({
primaryColor={primaryColor}
secondaryColor={secondaryColor}
showCompanyLogo={showCompanyLogo}
companyLogo={companyLogoUri}
companyLogoUri={companyLogoUri}
bigtitle={'Invoice'}
>
<Stack spacing={24}>