mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Starting treasury app
This commit is contained in:
		
							
								
								
									
										21
									
								
								templates/treasury/billing_list.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								templates/treasury/billing_list.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
{% extends "base.html" %}
 | 
			
		||||
{% load render_table from django_tables2 %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
{% block content %}
 | 
			
		||||
 | 
			
		||||
{% render_table  table %}
 | 
			
		||||
 | 
			
		||||
<a class="btn btn-primary" href="{% url 'treasury:billing' %}">{% trans "New billing" %}</a>
 | 
			
		||||
 | 
			
		||||
{% endblock %}
 | 
			
		||||
{% block extrajavascript %}
 | 
			
		||||
<script type="text/javascript">
 | 
			
		||||
 | 
			
		||||
$(document).ready(function($) {
 | 
			
		||||
    $(".table-row").click(function() {
 | 
			
		||||
        window.document.location = $(this).data("href");
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user