Skip to content

[Feature Request] The company VAT number for CompanyInfo and for ClientInfo's in PDF #2976

@evilmc

Description

@evilmc

Hi, how do I add the company VAT field in my company info and also in the customer's info in PDF? This is a very important field for my clients because I work only with companies.

This working for CompanyInfo

<h3 class='CompanyInfo'>{{ 'Company'|trans }}</h3>
		<div class='CompanyInfo'>
		<p>
		{% for key, value in seller %}
		{% if key == 'Name' %}<b>{% endif %}
		{% if key == 'Phone' %} {{ 'Phone'|trans }} :{% endif %}
				{{ value }}<br>
		{% if key == 'Name' %}</b>{% endif %}
		{% endfor %}<br>
		{% if footer.company_vat is defined and footer.company_vat %}
		VAT number: {{ footer.company_vat }}<br>
		{% elseif seller['VAT'] is defined and seller['VAT'] %}
		VAT number: {{ seller['VAT'] }}<br>
		{% elseif seller['Tax ID'] is defined and seller['Tax ID'] %}
		VAT number: {{ seller['Tax ID'] }}<br>
		{% endif %}
		</p>
		</div>

I can't figure out what to do with ClientInfo. How do I add a VAT number there?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions