{% extends "admin/change_form.html" %}
{% load i18n %}

{% block object-tools %}
{% if change %}{% if not is_popup %}
<ul class="object-tools">
	<li><a href="history/" class="historylink">{% trans "History" %}</a></li>
	<li><a href="{% url "admin:eo_facture_payment_add" %}?ligne_banque_pop={{original.id}}&montant_affecte={{original.montant_non_affecte|stringformat:"f"}}" class="historylink">Ajouter comme paiement</a></li>
  </ul>
{% endif %}{% endif %}
{% endblock %}

