{# Scoped, inline document preview (no /
, no iframe). All rules are namespaced under `.pvdoc` so they don't leak into the surrounding dialog/page. The outer `.pvdoc-sheet` is fixed to the selected paper size (mirrors the full-page preview in external_layout.html). #} {% set accent = company.accent or '#1f2937' %} {% set secondary = company.secondary or accent %} {% set layout = company.layout or 'light' %} {% set sheet_pad = '0' if layout in ('split', 'folder') else '16mm 12mm' %} {# Print-friendly ink — keep in sync with external_layout.html #} {% set ink = '#1a1a1a' %} {% set ink_muted = '#374151' %} {% set ink_faint = '#4b5563' %} {{ company.font_face_css }}|
{% if company.logo_url %}
{{ company.name }}
{% endif %}
INVOICE
FROM
{{ company.name }}
{% for line in company.address_lines %}{{ line }}
{% if company.copyright %}
{% endif %}
{% endfor %} |
|
|
{{ company.name }}
INVOICE
|
{% if company.logo_url %}
|
|
{{ company.name }}
|
{% if company.logo_url %} |
|
{{ company.name }}
{% for line in company.address_lines %}{{ line }}
{% endfor %} |
{% if company.logo_url %} |