cmsmanage/membershipworks/templates/membershipworks/event_invoice_pdf.dj.html
Adam Goldsmith fb005d419f
Some checks failed
Ruff / ruff (push) Successful in 30s
Test / test (push) Failing after 2m29s
membershipworks: Fix missing bootstrap CSS in invoice PDFs
2024-07-24 21:53:44 -04:00

34 lines
1.0 KiB
HTML

{% load static %}
{% load nh3_tags %}
{% load django_vite %}
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% vite_asset 'js/bootstrap-css-only.entry.ts' %}
<link rel="stylesheet" href="{% static "membershipworks/css/event_invoice_pdf.css" %}" media="print">
{% if preview %}
<link rel="stylesheet" href="{% static "membershipworks/css/event_invoice_pdf_preview.css" %}" media="print">
{% endif %}
<title>Event Invoice for {{ event.details.ttl|nh3 }}</title>
</head>
<body style="font-size: 10pt;">
<header>
<h3>Bill To:</h3>
<div>TwinState MakerSpaces, Inc.</div>
<div>PO Box 100</div>
<div>Lebanon, NH 03766-0100</div>
</header>
<footer>
<div class="left">Generated for {{ user }} on {{ now|date:"Y-m-d" }} {{ now|time:"H:i T" }} by CMSManage</div>
<div class="right">
Invoice ID: <span class="font-monospace text-nowrap">{{ invoice_uuid }}</span>
</div>
</footer>
{% include "membershipworks/event_invoice.dj.html" %}
</body>