fix: scope page — logo inline with title in same flex row, matching page 1
This commit is contained in:
@@ -276,9 +276,6 @@ export default async function offersPdfRoutes(fastify: FastifyInstance): Promise
|
||||
let scopeHtml = '';
|
||||
if (hasScopeContent) {
|
||||
scopeHtml += '<div class="scope-page">';
|
||||
if (logoImg) {
|
||||
scopeHtml += `<div class="logo-header">${logoImg}</div>`;
|
||||
}
|
||||
scopeHtml += `<div class="page-header">
|
||||
<div class="left">
|
||||
<div class="page-title">${escapeHtml(t('title'))}</div>
|
||||
@@ -286,6 +283,7 @@ export default async function offersPdfRoutes(fastify: FastifyInstance): Promise
|
||||
${quotation.project_code ? `<div class="project-code">${escapeHtml(quotation.project_code)}</div>` : ''}
|
||||
<div class="valid-until">${escapeHtml(t('valid_until'))}: ${escapeHtml(formatDate(quotation.valid_until))}</div>
|
||||
</div>
|
||||
${logoImg ? `<div class="right">${logoImg}</div>` : ''}
|
||||
</div>
|
||||
<hr class="separator" />`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user