feat: Hook up company logo to server-side pdf templates

This commit is contained in:
Ahmed Bouhuolia
2024-09-26 18:33:21 +02:00
parent e4044ef563
commit 46a145ae58
12 changed files with 51 additions and 25 deletions

View File

@@ -135,9 +135,9 @@ block content
div(class=`${prefix}-root`, style=`--invoice-primary-color: ${primaryColor}; --invoice-secondary-color: ${secondaryColor};`)
h1(class=`${prefix}-big-title`) Estimate
if showCompanyLogo
if showCompanyLogo && companyLogoUri
div(class=`${prefix}-logo-wrap`)
img(alt="", src=companyLogo)
img(alt="Company logo", src=companyLogoUri)
//- Terms List
div(class=`${prefix}-terms`)