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

@@ -144,9 +144,9 @@ block content
//- Title and company logo
h1(class=`${prefix}-big-title`) Invoice
if showCompanyLogo
if showCompanyLogo && companyLogoUri
div(class=`${prefix}-logo-wrap`)
img(alt="", src=companyLogo)
img(alt="Company logo", src=companyLogoUri)
//- Invoice details
div(class=`${prefix}-details`)