Project

General

Profile

« Previous | Next » 

Revision 3bb50103

Added by Mikaël Ates almost 12 years ago

facturation: trigger invoicing rendering from print button.

View differences:

calebasse/facturation/templates/facturation/detail.html
34 34
        {% endif %}
35 35
    {% else %}
36 36
        {% if show_validation_btn %}<button id="validate">Valider ce décompte</button>{% endif %}
37
        {% if invoicing.status == "validated" %}<button id="print-btn" onclick="">Imprimer</button>{% endif %}
37
        {% if invoicing.status == "validated" %}<button id="print-btn" onclick="window.location.href=window.location.href+'download/'">Imprimer</button>{% endif %}
38 38
    {% endif %}
39 39
{% endblock %}
40 40

  

Also available in: Unified diff