meta.sr.ht/metasrht/templates/billing-invoice-pdf.html

56 lines
1.1 KiB
HTML

<!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>