{% extends "site_base.html" %} {% load staticfiles %} {% load i18n %} {% load bootstrap_tags %} {% block head_title %}{% trans "Production" %}{% endblock %} {% block extra_head %} {% endblock %} {% block body_class %}x{% endblock %} {% block body_base %}
{% include "_messages.html" %}
{% if rand %} {% trans "Production Planning" %} {% else %} {% trans "Log Unplanned Production Work" %} {% endif %}
{% csrf_token %}
{% if selected_pattern %}

Chosen:   {% trans "Pattern " %}    {% trans "Project " %}

{% else %} {% trans "Choose a pattern " %} {{ pattern_form.pattern }}   {% trans "Choose a project " %} {{ ca_form.context_agent }}    {% endif %}
{% if selected_pattern %}
{% for slot in slots %} {{ slot }}
{% for item in slot.resource_types %}

{{ item }} ( {{ item.facet_values_list }} )

{% endfor %}
{% endfor %}

{{ process_form|as_bootstrap }} {% if rand %} {{ demand_form|as_bootstrap }} (If a work order is not selected, a new work order will be created automatically.) {% endif %}
{% if rand %}


Create planned work using the selected resource types.


Save this process and plan more work.


Create planned work and edit the process details.

{% else %}


Create a process using the selected resource types, where you can log your work.


Log your work starting now now. (You must select one type of work.)

{% endif %}
{% endif %}
{% endblock %} {% block extra_script %} {% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}