fix: payment portal page

This commit is contained in:
Ahmed Bouhuolia
2025-12-14 13:06:44 +02:00
parent 3cbdc3ec96
commit 2d4459c2f9
6 changed files with 11 additions and 8 deletions

View File

@@ -209,7 +209,7 @@ class GetInvoicePaymentLinkTaxEntryTransformer extends SaleInvoiceTaxEntryTransf
class GetInvoicePaymentLinkBrandingTemplate extends GetPdfTemplateTransformer {
public includeAttributes = (): string[] => {
return ['companyLogoUri', 'primaryColor'];
return ['companyLogoUri', 'primaryColor', 'secondaryColor'];
};
public excludeAttributes = (): string[] => {
@@ -219,4 +219,8 @@ class GetInvoicePaymentLinkBrandingTemplate extends GetPdfTemplateTransformer {
primaryColor = (template) => {
return template.attributes?.primaryColor;
};
secondaryColor = (template) => {
return template.attributes?.secondaryColor;
};
}