{% set quote = data.quote %} {% set company = data.company %} {% set customer = data.customer %} {% set totals = data.totals %} {% set format = data.format %}
{% if company.logo %} {% endif %} {% if company.name %}
{{ company.name }}
{% endif %} {% if company.address %}
{{ company.address }}
{% endif %} {% set cityLine = [company.city, company.state, company.zip]|filter(v => v is not empty)|join(', ') %} {% if cityLine %}
{{ cityLine }}
{% endif %} {% if company.email %}
{{ company.email }}
{% endif %} {% if company.url %}
{{ company.url }}
{% endif %} {% if company.phone %}
{{ company.phone }}
{% endif %}
{{ 'quote_report.titles.legacy'|trans }} {{ quote.number }}
{{ 'quote_report.labels.billed_to'|trans }} {% if customer.name %}
{{ customer.name }}
{% endif %} {% if customer.docId %}
{{ customer.docId }}
{% endif %} {% if customer.email %}
{{ customer.email }}
{% endif %} {% if customer.address %}
{{ customer.address }}
{% endif %} {% if customer.phones %}
{{ customer.phones }}
{% endif %}
{{ 'quote_report.labels.quote_no'|trans }} {{ quote.number }}
{{ 'quote_report.labels.date'|trans }} {{ quote.date }}
{{ 'quote_report.labels.term_days'|trans }} {{ quote.days }}
{{ 'quote_report.labels.expiration_date'|trans }} {{ quote.expirationDate }}
{% for item in data.items %} {% else %} {% endfor %}
{{ 'quote_report.labels.description'|trans }} {{ 'quote_report.labels.unit'|trans }} {{ 'quote_report.labels.quantity'|trans }} {{ 'quote_report.labels.rate'|trans }} {{ 'quote_report.labels.amount'|trans }}
{{ item.description }} {{ item.unit }} {{ item.quantity|number_format(format.decimals, '.', ',') }} {{ format.currency }}{{ item.rate|number_format(format.decimals, '.', ',') }} {{ format.currency }}{{ item.amount|number_format(format.decimals, '.', ',') }}
{{ 'quote_report.labels.no_items'|trans }}
{% if totals.showTax %} {% endif %}
{{ 'quote_report.labels.subtotal'|trans }} {{ format.currency }}{{ totals.subtotal|number_format(format.decimals, '.', ',') }}
{{ 'quote_report.labels.tax'|trans }} {{ format.currency }}{{ totals.taxAmount|number_format(format.decimals, '.', ',') }}
{{ 'quote_report.labels.total'|trans }} {{ format.currency }}{{ totals.total|number_format(format.decimals, '.', ',') }}
{% if data.comments %}
{{ 'quote_report.labels.comments'|trans }}
{{ data.comments|nl2br }}
{% else %}
{{ 'quote_report.labels.comments'|trans }}
{% endif %} {% if data.terms %}
{{ 'quote_report.labels.terms_and_conditions'|trans }}
{{ data.terms|raw }}
{% endif %}