Files
@ 3ffa5fab60de
Branch filter:
Location: symposion_app/pinaxcon/templates/registrasion/credit_note.html - annotation
3ffa5fab60de
2.0 KiB
text/html
Don't require login to view qrcode
* The qrcode contains no information that isn't in the URL you used to
access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
mail client
Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
* The qrcode contains no information that isn't in the URL you used to
access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
mail client
Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee a3474fd9cd4c 1ba1cf1a244e 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 2aae2af55dea 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 1ba1cf1a244e 1ba1cf1a244e 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c a3474fd9cd4c 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee 6c94eb9e91ee | {% extends "site_base.html" %}
{% load bootstrap %}
{% load registrasion_tags %}
{% block body %}
<h2>Credit Note</h2>
{% with note_user=credit_note.invoice.user %}
<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>
{% endwith %}
<p>This credit note was generated from funds excess from invoice {{ credit_note.invoice.id }}.</p>
{% if credit_note.is_unclaimed %}
<form class="form-horizontal" method="post" action="" novalidate>
{% csrf_token %}
<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" />
</div>
<h3>Generate cancellation fee</h3>
<p>You can generate an invoice for a cancellation fee, resulting in an invoice
and a new credit note.
</p>
{{ cancellation_fee_form|bootstrap }}
<div class="form-actions">
<input class="btn btn-primary" type="submit" value="Generate fee" />
</div>
<h3>Stripe Refund</h3>
<p><a href="{% url 'registripe_refund' credit_note.id %}">View Stripe refund options</a></p>
<h3>Manual refund</h3>
<p>You can mark this credit note as refunded, and handle the refund manually.
</p>
{{ refund_form|bootstrap }}
<div class="form-actions">
<input class="btn btn-primary" type="submit" value="Mark as refunded" />
</div>
</form>
{% endif %}
{% endblock %}
|