{% extends 'base.html' %} {% block title %}Staff charges{% endblock %} {% block content %}

Staff charges

{% 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 %}