Updates templates

This commit is contained in:
Christopher Neugebauer 2016-09-25 09:55:53 +10:00
parent 3c06914656
commit 99d0cf1440
2 changed files with 5 additions and 1 deletions

View file

@ -36,6 +36,10 @@
<input class="btn btn-primary" type="submit" value="Generate fee" /> <input class="btn btn-primary" type="submit" value="Generate fee" />
</div> </div>
<h3>Stripe Refund</h3>
<p><a href="{% url 'registripe_refund' credit_note.id %}">View Stripe refund options</a></p>
<h3>Manual refund</h3> <h3>Manual refund</h3>
<p>You can mark this credit note as refunded, and handle the refund manually. <p>You can mark this credit note as refunded, and handle the refund manually.
</p> </p>

View file

@ -17,7 +17,7 @@
<div> <div>
<a class="btn btn-default" href="{% url "demopay" invoice.id invoice.user.attendee.access_code %}">Pay this invoice (dummy)</a> <a class="btn btn-default" href="{% url "demopay" invoice.id invoice.user.attendee.access_code %}">Pay this invoice (dummy)</a>
<a class="btn btn-default" href='{% url "registripe_card" invoice.id %}'>Pay this invoice with Stripe</a> <a class="btn btn-default" href='{% url "registripe_card" invoice.id invoice.user.attendee.access_code %}'>Pay this invoice with Stripe</a>
{% if user.is_staff %} {% if user.is_staff %}
<a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment</a> <a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment</a>
{% endif %} {% endif %}