Custom texts now render in PDFs even without a manually selected layout

Documents without an explicitly selected layout rendered with the default layout's template but dropped its custom texts — leaving placeholders like {custom_text_0} in the PDF. Custom texts now always come through.

Fixed

  • Custom texts were missing from PDFs when no layout was selected. When a finance document has no explicitly assigned layout, the PDF automatically renders with the workspace's default layout. Until now the layout's custom text fields (cover letter, introduction, terms, …) were not filled in — the PDF showed raw placeholders like {custom_text_0}. PDF rendering now uses the same layout for custom texts as for the template — the texts appear exactly as shown in the editor.