membershipworks: Reword event invoice, add date to body
This commit is contained in:
parent
ae1116fea8
commit
e6a7e0c974
@ -26,6 +26,11 @@
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
</p>
|
||||
{% if now is not None %}
|
||||
<p>
|
||||
<b>Invoice Date:</b> {{ now|date }}
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
<b>Attendees:</b> {{ event.details.cnt }}/{{ event.details.cap }}
|
||||
</p>
|
||||
@ -50,7 +55,7 @@
|
||||
<div class="vr d-none d-md-block m-4 p-0"></div>
|
||||
<div class="col-12 col-md-4">
|
||||
<div>
|
||||
<h3>Remit to:</h3>
|
||||
<h3>From:</h3>
|
||||
<div>{{ event.instructor.member.account_name }}</div>
|
||||
<div>{{ event.instructor.member.address_street }}</div>
|
||||
<div>
|
||||
@ -59,6 +64,7 @@
|
||||
{{ event.instructor.member.address_postal_code }}
|
||||
</div>
|
||||
<div>{{ event.instructor.member.email }}</div>
|
||||
<div>{{ event.instructor.member.phone }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
<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>
|
||||
|
@ -359,9 +359,7 @@ class EventDetailView(
|
||||
invoice = EventInvoice(
|
||||
uuid=invoice_uuid,
|
||||
event=event,
|
||||
# NOTE: this needs to be resolved before the object is
|
||||
# saved, so cannot use the Now() db function
|
||||
date_submitted=timezone.now(),
|
||||
date_submitted=pdf_context["now"],
|
||||
amount=event.total_due_to_instructor,
|
||||
)
|
||||
# removed), currently used in event_invoice_admin.dj.html.
|
||||
|
Loading…
Reference in New Issue
Block a user