2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00

Adds (blank) scheduling tab to part page

This commit is contained in:
Oliver 2022-02-18 13:41:26 +11:00
parent 0f7b6e77ea
commit 584ce89def
3 changed files with 18 additions and 0 deletions

View File

@ -37,6 +37,18 @@
</div> </div>
</div> </div>
<div class='panel panel-hidden' id='panel-scheduling'>
<div class='panel-heading'>
<div class='d-flex flex-wrap'>
<h4>{% trans "Part Scheduling" %}</h4>
{% include "spacer.html" %}
</div>
</div>
<div class='panel-content'>
{% include "part/part_scheduling.html" %}
</div>
</div>
<div class='panel panel-hidden' id='panel-allocations'> <div class='panel panel-hidden' id='panel-allocations'>
<div class='panel-heading'> <div class='panel-heading'>
<div class='d-flex flex-wrap'> <div class='d-flex flex-wrap'>

View File

@ -0,0 +1,4 @@
{% load i18n %}
{% load inventree_extras %}
<canvas id='schedule-chart' width='100%' height='400'></canvas>

View File

@ -44,6 +44,8 @@
{% trans "Sales Orders" as text %} {% trans "Sales Orders" as text %}
{% include "sidebar_item.html" with label="sales-orders" text=text icon="fa-truck" %} {% include "sidebar_item.html" with label="sales-orders" text=text icon="fa-truck" %}
{% endif %} {% endif %}
{% trans "Scheduling" as text %}
{% include "sidebar_item.html" with label="scheduling" text=text icon="fa-calendar-alt" %}
{% if part.trackable %} {% if part.trackable %}
{% trans "Test Templates" as text %} {% trans "Test Templates" as text %}
{% include "sidebar_item.html" with label="test-templates" text=text icon="fa-vial" %} {% include "sidebar_item.html" with label="test-templates" text=text icon="fa-vial" %}