{% extends 'staff_charges/staff_charges_base.html' %} {% block staff_charges_content %}
{% csrf_token %}
Customer: {{ customer }}
{% if customer.active_project_count == 1 %} Staff time will be billed to the customer's only project, "{{ customer.active_projects.0 }}" {% else %} Which of the customer's projects would you like to bill?
{% for p in customer.active_projects %}
{% endfor %}
{% endif %}
{% endblock %}