Compare commits

..

No commits in common. "0f1640a5d6d217d2b922b71d8e2c00fa0420c9b5" and "e6a7e0c974c379bc7b2ce7dbdae052c9c480b88f" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
@page { @page {
size: letter portrait; size: letter portrait;
margin: 1.5in 0.7in 1.2in; margin: 1.2in 0.7in;
@top-center { @top-center {
content: "Event Invoice"; content: "Event Invoice";
@ -57,7 +57,7 @@ header {
} }
body { body {
margin-top: 3em; margin-top: 1em;
} }
p { p {

View File

@ -36,14 +36,14 @@
</p> </p>
<p> <p>
<b>Materials Fee <span class="font-monospace fw-light">[m]</span>:</b> <b>Materials Fee <span class="font-monospace fw-light">[m]</span>:</b>
{% if event.materials_fee_included_in_price or event.materials_fee == 0 %} {% if event.materials_fee_included_in_price is None %}
Unknown if included in price
{% elif event.materials_fee_included_in_price %}
{% if event.materials_fee is not None %} {% if event.materials_fee is not None %}
${{ event.materials_fee|floatformat:2 }} ${{ event.materials_fee|floatformat:2 }}
{% else %} {% else %}
Not defined Not defined
{% endif %} {% endif %}
{% elif event.materials_fee_included_in_price is None %}
Unknown if included in price
{% else %} {% else %}
Not collected by CMS Not collected by CMS
{% endif %} {% endif %}