{% extends "common/base.html" %} {% load crispy_forms_tags %} {% load static %} {% block title %} Allocation Invoice Detail {% endblock %} {% block content %} {% if allocation.project.status.name == 'Archived' %} {% endif %}

Allocation Invoice


{% if form.non_field_errors %} {% endif %}

Allocation Information

{% csrf_token %}
Project: {% if request.user.is_superuser %} {{ allocation.project }} {% else %} {{ allocation.project }} {% endif %}
Principal Investigator: {{ allocation.project.pi.first_name }} {{ allocation.project.pi.last_name }} ({{ allocation.project.pi.email }})
Resource{{ allocation.resources.all|pluralize }} in allocation: {{ allocation.get_resources_as_string }}
Quantity: {{ allocation.quantity }}
Justification: {{ allocation.justification }}
Status: {{ form.status }}
Created: {{ allocation.created }}
Last Modified: {{ allocation.modified }}
{% if request.user.is_superuser or perms.allocation.can_manage_invoice%} {% endif %}

Notes from Staff

{{allocation.allocationusernote_set.count}}
{% if allocation.allocationusernote_set.all %}
{% for note in allocation.allocationusernote_set.all %} {% endfor %}
Comment Author Last Modified Actions
{{ note.note }} {{ note.author.first_name }} {{ note.author.last_name }} ({{ note.author.username }}) {{ note.modified }} Edit
{% else %} {% endif %}
{% endblock %}