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:
parent
0f7b6e77ea
commit
584ce89def
@ -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'>
|
||||||
|
4
InvenTree/part/templates/part/part_scheduling.html
Normal file
4
InvenTree/part/templates/part/part_scheduling.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{% load i18n %}
|
||||||
|
{% load inventree_extras %}
|
||||||
|
|
||||||
|
<canvas id='schedule-chart' width='100%' height='400'></canvas>
|
@ -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" %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user