{% extends 'staff_charges/staff_charges_base.html' %} {% load custom_tags_and_filters %} {% block staff_charges_content %}
{% csrf_token %}
Customer: {{ customer }}
{% if customer.active_project_count == 1 and customer.active_projects.0.allow_staff_charges %} 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 %} {% if p.allow_staff_charges %}
{% endif %} {% endfor %}
{% endif %}
{% button type="save" value="Begin billing staff time" icon="glyphicon-time" %}
{% endblock %}