Changeset - 99d0cf1440bd
[Not reviewed]
0 2 0
Christopher Neugebauer - 7 years ago 2016-09-24 23:55:53
chrisjrn@gmail.com
Updates templates
2 files changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/credit_note.html
Show inline comments
...
 
@@ -27,24 +27,28 @@
 
          <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 %}
pinaxcon/templates/registrasion/invoice.html
Show inline comments
...
 
@@ -8,25 +8,25 @@
 
  <p><strong>NOTICE:</strong> The below invoice is automatically generated, and will be voided
 
    if you amend your registration before payment, or if discounts or products contained in the
 
    invoice become unavailable. The items and discounts are only reserved until
 
    the invoice due time.</p>
 

	
 
  {% url "invoice_access" invoice.user.attendee.access_code as access_url %}
 
  <p>Your most recent unpaid invoice will be available at
 
    <a href="{{ access_url }}">{{ request.scheme }}://{{ request.get_host }}{{ access_url }}</a>
 
    You can give this URL to your accounts department to pay your registration.</p>
 

	
 
  <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 "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 %}
 
      <a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment</a>
 
    {% endif %}
 
  </div>
 
{% elif invoice.is_paid %}
 
  {% if user.is_staff %}
 
  <div>
 
    {% if user.is_staff %}
 
    <a class="btn btn-default" href="{% url "manual_payment" invoice.id %}">Apply manual payment/refund</a>
 
    <a class="btn btn-default" href="{% url "refund" invoice.id %}">Refund by issuing credit note</a>
 
    {% endif %}
 
  </div>
0 comments (0 inline, 0 general)