~sircmpwn/meta.sr.ht

ref: 72548bd7545f78670878667674cc7645835a17bd meta.sr.ht/metasrht/templates/billing-invoice.html -rw-r--r-- 1.2 KiB
72548bd7Drew DeVault API: Updates per core-go auth changes 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{% extends "meta.html" %}
{% block title %}
<title>Download invoice - {{cfg("sr.ht", "site-name")}} meta</title>
{% endblock %}
{% block content %}
<div class="row">
  <div class="col-md-6">
    <h3>Download Invoice</h3>
    <div class="event-list">
      <div class="event">
        <h4>
          <small class="text-success" style="margin-left: 0">
            {{icon('check')}}
          </small>
          ${{"{:.2f}".format(invoice.cents/100)}}
          <small>
            with {{invoice.source}}
          </small>
        </h4>
        <p>
          Paid {{invoice.created | date}}<br />
          Valid for service until {{invoice.valid_thru | date}}
        </p>
      </div>
    </div>
    <form method="POST">
      {{csrf_token()}}
      <div class="form-group">
        <label for="address-to">Address invoice to (optional):</label>
        <textarea
          class="form-control"
          name="address-to"
          id="address-to"
          rows="5"
          placeholder="Billing address, VAT number, etc"
        ></textarea>
      </div>
      <button type="submit" class="btn btn-primary">
        Download invoice
        {{icon('caret-right')}}
      </button>
    </form>
  </div>
</div>
{% endblock %}