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

@@ -134,8 +134,3 @@ export function BrandingTemplateForm<T extends BrandingTemplateValues>({
export const validationSchema = Yup.object().shape({
templateName: Yup.string().required('Template Name is required'),
});
// Initial values - companyLogoKey, companyLogoUri
// Form - _companyLogoFile, companyLogoKey, companyLogoUri
// Request - companyLogoKey

View File

@@ -3,6 +3,7 @@
export interface BrandingTemplateValues {
templateName: string;
// Company logo
companyLogoKey?: string;
companyLogoUri?: string;
}