SkyLearn-Test/templates/invoices.html

14 lines
356 B
HTML

<h1>{% trans 'Invoices' %}</h1>
<form method="POST">{% csrf_token %}
<input type="number" name="amount" required="true">
<button type="submit">{% trans 'Pay now' %}</button>
</form>
{% for invoice in invoices %}
<h3>{{ invoice.user }}</h3>
<h3>{{ invoice.amount }}</h3>
<h3>{{ invoice.total }}</h3>
<h3>{{ invoice.payment_complete }}</h3>
{% endfor %}