{% extends "mag/base_mag_ecom.html" %} {% load static %} {% block title %}Demandes de transfert{% endblock %} {% block page %}Demandes entre agences{% endblock %} {% block extra_head %} {% endblock extra_head %} {% block page_action_buttons %} {% if is_chef_agence and localite_user %} {% endif %} {% endblock page_action_buttons %} {% block main_content %} {% include "mag/partials/_periode_filter_modal.html" %} {% load custom_filters %}
| N° demande | Demandeur → Donneur | Lignes | Statut | Bon donneur | Bon livraison | Date | Actions |
|---|---|---|---|---|---|---|---|
| {{ d.numero_demande }} | {{ d.local_demandeur.nom }} → {{ d.local_donneur.nom }} | {{ d.nb_lignes }} pièce(s) | {{ d|statut_demande_affichage:request.user }} |
{% if d.numero_bon_donneur %}{{ d.numero_bon_donneur }}{% else %}—{% endif %}
|
{% if d.bon_livraison %} {{ d.bon_livraison.numero_bon_livraison }} {% else %} — {% endif %} | {{ d.date_demande|date:"d/m/Y H:i" }} | {% if d.statut == 'en_attente' and localite_user and d.local_demandeur_id == localite_user.pk %} {% endif %} {% if d.statut == 'en_attente' and localite_user and d.local_donneur_id == localite_user.pk %} {% endif %} {% if d.statut == 'validee' and localite_user and d.local_demandeur_id == localite_user.pk and d.bon_livraison and d.bon_livraison.statut == 'livre' %} {% endif %} |
| Aucune demande sur la période. | |||||||