{% extends "django_program/pretalx/base.html" %} {% block title %}Upload Receipts{% endblock %} {% block extra_head %} {% endblock %} {% block content %} Back to grant status
New Receipt
{% csrf_token %}
{{ form.receipt_type }} {% if form.receipt_type.help_text %}

{{ form.receipt_type.help_text }}

{% endif %} {% if form.receipt_type.errors %}
    {% for error in form.receipt_type.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{{ form.date }} {% if form.date.help_text %}

{{ form.date.help_text }}

{% endif %} {% if form.date.errors %}
    {% for error in form.date.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{{ form.amount }}
{% if form.amount.help_text %}

{{ form.amount.help_text }}

{% endif %} {% if form.amount.errors %}
    {% for error in form.amount.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{{ form.description }} {% if form.description.help_text %}

{{ form.description.help_text }}

{% endif %} {% if form.description.errors %}
    {% for error in form.description.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{{ form.receipt_file }}
Choose a file or drag it here PDF, JPG, or PNG (max 10 MB)
{% if form.receipt_file.help_text %}

{{ form.receipt_file.help_text }}

{% endif %} {% if form.receipt_file.errors %}
    {% for error in form.receipt_file.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{% if receipts %}

Uploaded Receipts ({{ receipts|length }})

{% for receipt in receipts %} {% if receipt.flagged and receipt.flagged_reason %} {% endif %} {% endfor %}
Type Date Description Amount Status Actions
{{ receipt.get_receipt_type_display }} {{ receipt.date|date:"M j, Y" }} {{ receipt.description|default:"--" }} ${{ receipt.amount }} {{ receipt.status }} {% if receipt.receipt_file %} View {% endif %} {% if receipt.can_delete %}
{% csrf_token %}
{% endif %}
Flagged: {{ receipt.flagged_reason }}
Total ${{ receipt_total }}
{% else %}

No receipts uploaded yet. Use the form above to submit your first receipt.

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}