~sircmpwn/meta.sr.ht

ref: 72548bd7545f78670878667674cc7645835a17bd meta.sr.ht/metasrht/templates/billing-invoice-pdf.html -rw-r--r-- 1.1 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
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
    <title>sr.ht subscription invoice</title>
    <style type="text/css">
        * {
            font-family: "Courier New", Courier, monospace;
            font-size: 14px;
        }
        h1 {
            font-size: 1.6rem;
            margin-bottom: .5rem;
        }
    </style>
</head>
<body>
    {% if bill_from_head %}
        <h1>{{ bill_from_head }}</h1>
    {% endif %}

    {% for line in bill_from_tail %}
        {{ line }}
        {% if not loop.last %}<br />{% endif %}
    {% endfor %}

    <div style="float: right">
        <strong>
            Invoice #{{ invoice.id }}
        </strong><br />
        Issued {{ created }}
    </div>

    <div style="clear: both"></div>

    <hr />

    <dl>
        <dt>Service</dt>
        <dd>sr.ht subscription fee</dd>
        <dt>Amount</dt>
        <dd>{{ amount }}</dd>
        <dt>Paid with</dt>
        <dd>{{ source }}</dd>
        <dt>Paid on</dt>
        <dd>{{ created }}</dd>
        <dt>Valid for service thru</dt>
        <dd>{{ valid_thru }}</dd>
    </dl>

    <hr />

    <p><strong>Invoice to</strong>:</p>
    <pre>{{ bill_to }}</pre>
</body>
</html>