{% extends "layouts/base.html" %} {% block title %} Paiement {% endblock %} {% block stylesheets %}{% endblock stylesheets %} {% block content %}
{% include 'includes/navigation.html' %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% if type == 'paiement' %} {% if paiement.commande.type_commande == 'bon_commande' %} PAIEMENTS EFFECTUÉS {% else %} REÇU DE PAIEMENT {% endif %} {% else %} {% for fact in detailsgroupspaiement %} {% if forloop.first %} {% if fact.commande.type_commande == 'bon_commande' %} PAIEMENTS EFFECTUÉS {% else %} REÇU DE PAIEMENT {% endif %} {% endif %} {% endfor %} {% endif %}
N° du paiement
{{paiement.id}}
Date du paiement
{{paiement.date}}
{% if paiement.commande.fournisseur %} {% endif %}
Montant payé
DZD {{paiement.montant}}
{% if type == 'paiement' %} {% if paiement.commande.fournisseur %}

Payé à

{{paiement.commande.fournisseur.nom}} {{paiement.commande.fournisseur.prenom}}
{% else %}

paiement pour

{{paiement.commande.client.nom}} {{paiement.commande.client.prenom}}
{% endif %} {% else %} {% for fact in detailsgroupspaiement %} {% if forloop.first %} {% if fact.commande.fournisseur %}

Payé à

{{fact.commande.fournisseur.nom}} {{fact.commande.fournisseur.prenom}}
{% else %}

paiement pour

{{fact.commande.client.nom}} {{fact.commande.client.prenom}}
{% endif %} {% endif %} {% endfor %} {% endif %}
{% include 'includes/footer.html' %}
{% endblock content %} {% block javascripts %} {% endblock javascripts %}