{% extends "base.html" %} {% load i18n %} {% block content %}

{{ supplier.name }}

{% if supplier.is_active %} {% translate "Actif" %} {% else %} {% translate "Inactif" %} {% endif %}
{% translate "Retour" %}
{% translate "Informations" %}
{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors }}
{% endif %}
{{ form.enterprise_number }} {% if form.enterprise_number.errors %}
{{ form.enterprise_number.errors }}
{% endif %}
{{ form.contact_email }} {% if form.contact_email.errors %}
{{ form.contact_email.errors }}
{% endif %}
{{ form.phone_number }} {% if form.phone_number.errors %}
{{ form.phone_number.errors }}
{% endif %}
{{ form.address }} {% if form.address.errors %}
{{ form.address.errors }}
{% endif %}
{{ form.is_active }} {% if form.is_active.errors %}
{{ form.is_active.errors }}
{% endif %}
{% if can_edit %}
{% endif %}
{% translate "Commandes récentes" %}
{% if purchase_orders %}
{% for order in purchase_orders %} {% endfor %}
{% translate "N°" %} {% translate "Date" %} {% translate "Entrepôt" %} {% translate "Statut" %}
{{ order.code }} {{ order.date_ordered|date:"d/m/Y" }} {{ order.warehouse.name }} {{ order.get_status_display }}
{% translate "Affichage des 10 dernières commandes" %}
{% else %}

{% translate "Aucune commande pour ce fournisseur" %}

{% endif %}
{% endblock content %}