{# Wraps a document body with the company header/footer. NOTE: rendered by wkhtmltopdf (old Qt WebKit) — avoid CSS custom properties (var()) and display:flex; the accent colour is injected by Jinja and layout uses tables. #} {% set accent = company.accent or '#1f2937' %} {% set secondary = company.secondary or accent %} {% set layout = company.layout or 'light' %} {# Print-friendly ink — slightly darker than Tailwind gray-500/900 defaults. #} {% set ink = '#1a1a1a' %} {% set ink_muted = '#374151' %} {% set ink_faint = '#4b5563' %}
|
{% 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 %}
|