{% extends "site_base.html" %} {% load staticfiles %} {% load i18n %} {% load bootstrap_tags %} {% block head_title %}{% trans "Schedule for " %}{{ order }}{% endblock %} {% block extra_head %} {% endblock %} {% block body_class %}projects{% endblock %} {% block body_base %}
{% include "_messages.html" %}
{% trans "Schedule for " %}{{ order }} {% if order.exchange %} {% trans "Go to Exchange" %} {% endif %} {% if order.description %}
{{ order.description|urlize|linebreaks }}
{% endif %} {% if agent %}

{% if order.order_type == "customer" %} {% trans "Order Items" %}: {% trans "Add an Order Item" %} {% else %} {% trans "Deliverables" %}: {% if agent %} {% trans "Add a Deliverable" %} {% endif %} {% endif %}

{% endif %} {% if agent %} {% endif %}

{% trans "Production Schedule" %}: {% if order.all_processes %} {% trans "Process graph diagram" %} {% trans "Timeline" %} {% endif %}

{% for item in order_items %}
{% trans 'Order Item' %}: {{ item.resource_type }} {% if item.stage %} @{{ item.stage.name }} {% endif %} {% if item.needs_production_process %} {% if agent %} {% blocktrans %}Add Process to produce {% endblocktrans %} {{ item.resource_type }} {% endif %} {% endif %}
{% if agent %} {% endif %} {% for oh in item.onhand %}
{% trans 'Onhand' %}: {{ oh }} {{ oh.formatted_quantity }}
{% endfor %} {% for process in item.processes %} {% if agent %} {% if process.to_be_changed_requirements %}
{% endif %} {% endif %}
{% include "valueaccounting/_process_for_order.html" %}
{% if agent %} {% trans "Change process plan" %} {% if item.is_workflow_order_item %} {% if process.is_deletable %}
{% csrf_token %}
{% endif %} {% endif %} {% endif %}
{% endfor %} {% if agent %} {% if item.is_workflow_order_item %}
{% endif %} {% endif %} {% endfor %}
{% endblock %} {% block extra_script %} {% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}