Just one void invoices button is sufficient thanks

And yes, this is changing it back to a button; having it as a link
isn't quite what we want.
This commit is contained in:
James Polley 2017-09-24 20:40:19 +10:00
parent 2c2fb35557
commit 54fceededa

View file

@ -125,9 +125,9 @@
<a href="{% url "invoice" invoice.id %}" >Invoice {{ invoice.id }}</a> <a href="{% url "invoice" invoice.id %}" >Invoice {{ invoice.id }}</a>
- ${{ invoice.value }} ({{ invoice.get_status_display }}) - ${{ invoice.value }} ({{ invoice.get_status_display }})
</li> </li>
<a id="toggle-void-invoices" href="" onclick="toggleVoidInvoices();">Show void invoices</a>
{% endfor %} {% endfor %}
</ul> </ul>
<a id="toggle-void-invoices" href="#" onclick="toggleVoidInvoices();">Show void invoices</a>
</div> </div>
</div> </div>
</div> </div>