Adds nag_unpaid template and credit_note template (#79)

This commit is contained in:
Christopher Neugebauer 2016-12-07 22:11:01 +11:00 committed by Scott Bragg
parent 3a686ab1a8
commit 1ba1cf1a24
2 changed files with 19 additions and 0 deletions

View file

@ -9,6 +9,7 @@
<ul>
<li><strong>Number:</strong> {{ credit_note.id }}
<li><strong>Attention:</strong> {{ credit_note.invoice.recipient }}</li>
<li><strong>User:</strong> {{ credit_note.invoice.user.email }} ({{ credit_note.invoice.user.id}})</li>
<li><strong>Value:</strong> {{ credit_note.value }}</li>
<li><strong>Status:</strong> {{ credit_note.status }}</li>
</ul>
@ -22,6 +23,8 @@
<h3>Apply to invoice</h3>
<p>You can apply this credit note to an unpaid invoice.</p>
<p><strong>This credit note belongs to:</strong> {{ credit_note.invoice.user.email }} ({{ credit_note.invoice.user.id}}). You can apply this credit note to any user's invoice.</p>
{{ apply_form|bootstrap }}
<div class="form-actions">
<input class="btn btn-primary" type="submit" value="Apply to invoice" />

View file

@ -0,0 +1,16 @@
{% extends "site_base.html" %}
{% load bootstrap %}
{% load registrasion_tags %}
{% block body %}
<h2>Send reminder e-mails</h2>
<form method="POST">
{% csrf_token %}
{{ form | bootstrap}}
<br/>
<input type="submit">
</form>
{% endblock %}