{% from "utils.html" import submit_button %} {% extends "layout.html" %} {% block title %}Billing{% endblock %} {% block content %}
{{ submit_button('Submit') }}

Start must be a date in the format MM/DD/YYYY. End is an optional date in the format MM/DD/YYYY. Leave End empty to include currently running batches. If End is not empty, then no currently running batches are included. All dates search for batches that have completed within that time interval (inclusive).

Total spend: {{ total_cost }}
{% if is_developer %}
By Billing Project
By User
{% endif %}
By Billing Project and User
{% if is_developer %}
{% for row in billing_by_project %} {% endfor %}
{{ row['billing_project'] }} {{ row['cost'] }}
{% for row in billing_by_user %} {% endfor %}
{{ row['user'] }} {{ row['cost'] }}
{% endif %}
{% for row in billing_by_project_user %} {% endfor %}
{{ row['billing_project'] }} {{ row['user'] }} {{ row['cost'] }}
{% endblock %}