{% extends "layouts/base.html" %} {% block title %} Vente {% endblock %} {% block stylesheets %}{% endblock stylesheets %} {% block content %}
{% include 'includes/navigation.html' %}

  Détail du vente

{% if commande.reste != 0 %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% if commande.emballage == "non emballe" or commande.emballage == "partiellement emballe" %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}

{% if liste_paiement %} {% for paiement in liste_paiement %} {% endfor %} {% endif %}
{{paiement.date}}
Montant
DZD {{paiement.montant}}
{% csrf_token %}
{% if liste_colis %} {% for colis in liste_colis %} {% endfor %} {% endif %}
{{colis.num_colis}}
{{colis.date}}
{{colis.status}}
client
{{colis.commande.client.nom}} {{colis.commande.client.prenom}}
qauntite
{{colis.qantite}}
{% if liste_retours %} {% for retour in liste_retours %} {% endfor %} {% endif %}
{% if retour.statut == "refuse" %} Réfusé {% endif %} {% if retour.statut == "approuve" %} Approuvé {% endif %}
statut de remboursement
{{retour.staut_remboursement}}
total
{{retour.total}}
{% csrf_token %}

{% if commande.client %} vente pour le client {{commande.client.nom}} {% endif %}

Paiement
emballee
{% if commande.expiditions != ''%} Expédition {% endif %}
Date du vente
{{commande.date}}
Note
{{commande.note|default:'/'}}
{% if commande.client %}
Adresse de livraison
{% endif %}
{% for articlecommande in articlecommandee %} {% endfor %}
Articles Num lot Quantite Retour Taux Remise  Montant
{{articlecommande.article.nom_article}}
n° {{articlecommande.lot.numero_lot}} {% for art in articlecommandeerep %} {% if art.article.id == articlecommande.article.id %}
n° {{art.lot.id}} {% endif %} {% endfor %}
{{articlecommande.qantite_total}}
{{articlecommande.quantitee_renvoyee}} {{articlecommande.taux}} DZD {{articlecommande.remise}} {{articlecommande.montant}} DZD


Sous-total
Frais Expedition : {{commande.frais_expedition|default:" "}} DZD
Ajustement : {{commande.ajustement|default:" "}} DZD
{{commande.sous_total}} DZD
Total
{{commande.total}} DZD
Reste
{{commande.reste}} DZD

{% include 'includes/footer.html' %}
{% endblock content %} {% block javascripts %} {% endblock javascripts %}