{# # --------------------------------------------------------------------- # # GLPI - Gestionnaire Libre de Parc Informatique # # http://glpi-project.org # # @copyright 2015-2025 Teclib' and contributors. # @licence https://www.gnu.org/licenses/gpl-3.0.html # # --------------------------------------------------------------------- # # LICENSE # # This file is part of GLPI. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # --------------------------------------------------------------------- #}

{% if supplier['id'] %} {{ supplier['supplier_name'] }} {% else %} {{ supplier['supplier_name'] }} {% endif %}

{% if supplier['registration_number']|length > 0 %}
{{ supplier['registration_number'] }}
{% endif %} {% if supplier['comment']|length > 0 %}
{{ supplier['comment'] }}
{% endif %} {% if not supplier['phonenumber'] is empty %}
{{ supplier['phonenumber'] }}
{% endif %} {% if not supplier['email'] is empty %}
{{ supplier['email'] }}
{% endif %} {% if not supplier['fax'] is empty %}
{{ supplier['fax'] }}
{% endif %} {% if not supplier['address'] is empty or not supplier['town'] is empty or not supplier['postcode'] is empty %}
{% if not supplier['address'] is empty %} {{ supplier['address'] }} {% endif %} {% if not supplier['town'] is empty %} {{ supplier['town'] }} {% endif %} {% if not supplier['address'] is empty and not supplier['town'] is empty and not supplier['postcode'] is empty %} - {% endif %} {% if not supplier['postcode'] is empty %} {{ supplier['postcode'] }} {% endif %}
{% endif %}