Browse Source

Correct some mistake

Fabs 11 years ago
parent
commit
8e6edfbf1f

+ 0 - 1
coin/billing/templates/billing/invoice.html

@@ -29,7 +29,6 @@
 		    }
 
 		    table#details {
-		    	-pdf-keep-with-next: true;
 		    	width:100%;
 		    }
 		    th.cell {border:0px;}

+ 1 - 1
coin/templates/admin/billing/invoice/change_form.html

@@ -3,7 +3,7 @@
 {% block object-tools %}
 {% if change %}{% if not is_popup %}
 <ul class="object-tools">
-   <li><a href="{% url 'billing:invoice_pdf' id=86 %}">Télécharger en PDF</a></li>
+   <li><a href="{% url 'billing:invoice_pdf' id=object_id %}">Télécharger en PDF</a></li>
 </ul>
 {% endif %}{% endif %}
 {% endblock %}