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 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-heading'>
<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 %}
{% include "sidebar_item.html" with label="sales-orders" text=text icon="fa-truck" %}
{% endif %}
{% trans "Scheduling" as text %}
{% include "sidebar_item.html" with label="scheduling" text=text icon="fa-calendar-alt" %}
{% if part.trackable %}
{% trans "Test Templates" as text %}
{% include "sidebar_item.html" with label="test-templates" text=text icon="fa-vial" %}