Update invoice form
This commit is contained in:
parent
492e6e77d1
commit
3ca027afc5
1 changed files with 12 additions and 7 deletions
|
@ -13,11 +13,16 @@
|
|||
type="text/css" />
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
<h1>{{ form.instance }}</h1>
|
||||
{% with invoice=form.instance %}
|
||||
<h1>{{ invoice }}</h1>
|
||||
<p>
|
||||
<a href="{{ invoice.transaction.get_absolute_url }}">{{ invoice.transaction }}</a>
|
||||
</p>
|
||||
{% spaceless %}
|
||||
<form id="transaction" method="post" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
</form>
|
||||
{% endspaceless %}
|
||||
{% endwith %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue