1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Create & update billings (products are not yet supported)

This commit is contained in:
Yohann D'ANELLO
2020-03-21 00:52:26 +01:00
parent 1c12494a67
commit b030f5797f
4 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,12 @@
{% extends "base.html" %}
{% load static %}
{% load i18n %}
{% load crispy_forms_tags %}
{% block content %}
<p><a class="btn btn-default" href="{% url 'treasury:billing' %}">{% trans "Billings list" %}</a></p>
<form method="post">
{% csrf_token %}
{{form|crispy}}
<button class="btn btn-primary" type="submit">{% trans "Submit" %}</button>
</form>
{% endblock %}

View File

@ -5,7 +5,7 @@
{% render_table table %}
<a class="btn btn-primary" href="{% url 'treasury:billing' %}">{% trans "New billing" %}</a>
<a class="btn btn-primary" href="{% url 'treasury:billing_create' %}">{% trans "New billing" %}</a>
{% endblock %}
{% block extrajavascript %}