2020-03-20 23:30:49 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load render_table from django_tables2 %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% render_table table %}
|
|
|
|
|
2020-03-20 23:52:26 +00:00
|
|
|
<a class="btn btn-primary" href="{% url 'treasury:billing_create' %}">{% trans "New billing" %}</a>
|
2020-03-20 23:30:49 +00:00
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
{% block extrajavascript %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
$(document).ready(function($) {
|
|
|
|
$(".table-row").click(function() {
|
|
|
|
window.document.location = $(this).data("href");
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|