{{ fair.name }}
End-of-Fair Reconciliation Report {% if gallery %} · {{ gallery.public_name or gallery.name }}{% endif %}
{% if fair.location %}{{ fair.location }}
{% endif %} {% if fair.start_date %}{{ fair.start_date|ch_date }}{% if fair.end_date %} – {{ fair.end_date|ch_date }}{% endif %}
{% endif %} Generated: {{ now|ch_date if now else "" }}
Total Sales
{{ confirmed_sales|length }}
Total Revenue
{{ total_revenue|ch_currency }}
Artworks Sold
{{ confirmed_sales|selectattr('status', 'ne', 'draft')|list|length }}
{% for sale in confirmed_sales %} {% if sale.line_items %} {% set line = sale.line_items[0] %} {% endif %} {% endfor %}
# Artwork Artist Buyer Amount Status
{{ loop.index }} {{ line.artwork.title|truncate(35) }} {% if line.artwork.artist %}{{ (line.artwork.contact_artist.last_name if line.artwork.contact_artist else (line.artwork.artist.last_name if line.artwork.artist else "")) }}{% endif %} {% if line.buyer %} {% if line.buyer.contact_type == "individual" %}{{ line.buyer.last_name }}{% else %}{{ line.buyer.organisation }}{% endif %} {% else %}—{% endif %} {{ line.price|ch_currency(line.currency) }} {{ sale.status }}
Total Revenue {{ total_revenue|ch_currency }}