{% if pdp_link or pdp_operations %}

Suivi SUPERPDP

{% if pdp_link %}

Facture distante {{ pdp_link.remote_id }} · {{ pdp_link.remote_environment }} · Numéro original : {{ pdp_link.invoice_number }}

Dernier événement : {{ pdp_status_label|default:"En attente d’événement" }}{% if pdp_link.latest_status %} {{ pdp_link.latest_status }}{% endif %}

Événements reçus : {% for code in pdp_link.status_codes %}{{ code }} {% empty %}aucun{% endfor %} · Actualisé le {{ pdp_link.synced_at|date:"d/m/Y H:i" }}

Télécharger l’original SUPERPDP{% if pdp_link.readable_file_uid %}Télécharger la version PDF{% endif %}
{% endif %} {% for operation in pdp_operations %}

{{ operation.status_label }}{% if operation.payload.status_code %} · {{ operation.payload.status_code }}{% endif %}{% if operation.last_error %}
{{ operation.last_error }}{% endif %}

{% endfor %}

Ce suivi décrit les échanges avec SUPERPDP. Les montants, règlements et rapprochements bancaires locaux sont conservés séparément.

{% if can_write %}
{% csrf_token %}
{% if pdp_link %} {% if pdp_link.remote_environment == "sandbox" and document.status == "simulated" %}
{% csrf_token %}

Déclaration de test dans le sandbox SUPERPDP

{% endif %} {% if document.direction == "incoming" and document.status == "accepted" %}
{% csrf_token %}
{% endif %} {% if document.direction == "incoming" and document.status == "disputed" or document.direction == "incoming" and document.status == "refused" %}
{% csrf_token %}{% if document.status == "disputed" %}{% else %}{% endif %}
{% endif %} {% if can_finance and document.status == "paid" and document.type != "credit_note" %}
{% csrf_token %}{% if document.direction == "incoming" %}{% else %}{% endif %}
{% endif %} {% endif %}{% endif %}
{% endif %}