{% extends "admin/base_site_nav.html" %} {% load i18n %} {% block extrahead %}{{block.super}} {% endblock %} {% block content %}
{% if perms.execute %} {% if perms.execute.run_frepple %}

{% trans 'Create a plan' %}

{% csrf_token %} {% blocktrans %}
Run frePPLe Load frePPLe from the database...
and create a plan in frePPLe...
and export results into the database

Plan type:
{% endblocktrans %} {% blocktrans %}Constrained plan
     This plan respects the constraints enabled below.
     In case of shortages the demand is planned late or short.
{% endblocktrans %} {% blocktrans %}Unconstrained plan
     This plan shows material, capacity and operation problems
     that prevent the demand from being planned in time.
     The demand is always met completely and on time.
{% endblocktrans %}
{% trans "Constraints" %}:
{% trans "Capacity: respect capacity limits" %}
{% trans "Material: respect procurement limits" %}
{% trans "Lead time: do not plan in the past" %}
{% trans "Release fence: do not plan within the release time window" %}

{% trans "View latest log file" %}
{% endif %} {% if scenarios.count > 1 %}

{% trans "Scenario management" %}

{% csrf_token %} {% for j in scenarios %}{% ifnotequal j.name 'default' %} {% endifnotequal %}{% endfor %} {% if perms.execute.copy_scenario %} {% endif %} {% if perms.execute.release_scenario %} {% endif %}
{% trans 'name' %} {% trans 'status' %} {% trans 'description' %} {% trans 'last refresh' %}
{{j.name}} {{j.status}} {{j.description}} {{j.lastrefresh|date:"DATETIME_FORMAT"}}
{% trans "Copy" %} {% trans "Copy" %} {% trans "into selected scenarios" %}
{% trans "Release" %} {% trans "Release selected scenarios" %}
{% trans "Update" %} {% trans "Update description of selected scenarios" %}
{% endif %} {% if perms.execute.run_db %}

{% trans "Database" %}

{% csrf_token %} {% blocktrans %}{% endblocktrans %} {% csrf_token %}
Erase Erase all data from the database.
{% trans "Load a dataset" %} {% trans "Load a dataset from a file in the database." %}
{% trans "Available datasets:" %}
{% endif %} {% if perms.execute.run_db %}

{% trans "Model generator" %}

{% csrf_token %} {% blocktrans %}{% endblocktrans %}
Create a model Create a sample model in the database.
The parameters control the size and complexity.
Number of end items:
Demand:
  Monthly forecast per end item:
  Demands per end item:
  Average delivery lead time: days
Raw Materials:
  Depth of bill-of-material:
  Total number of components:
  Number of components per end item:
  Average procurement lead time: days
Capacity:
  Number of resources:
  Size of each resource:
  Expected average resource utilization: 76.7%
{% endif %} {% else %} {% trans "Sorry, You don't have any execute permissions..." %} {% endif %}
{% endblock %}