fix: scope page — logo inline with title in same flex row, matching page 1

This commit is contained in:
BOHA
2026-03-24 10:52:29 +01:00
parent cb5c26c4b0
commit 17da3b17c3

View File

@@ -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" />`;