mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Separate "completed shipments" onto its own tab
This commit is contained in:
parent
68e2b0850b
commit
d3b9adc87a
@ -37,8 +37,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='panel panel-hidden' id='panel-order-shipments'>
|
||||
{% if order.is_pending %}
|
||||
<div class='panel panel-hidden' id='panel-order-shipments'>
|
||||
<div class='panel-heading'>
|
||||
<div class='d-flex flex-row'>
|
||||
<h4>{% trans "Pending Shipments" %}</h4>
|
||||
@ -57,7 +57,10 @@
|
||||
{% endif %}
|
||||
<table class='table table-striped table-condensed' id='pending-shipments-table' data-toolbar='#pending-shipment-toolbar'></table>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class='panel panel-hidden' id='panel-order-shipments-complete'>
|
||||
<div class='panel-heading'>
|
||||
<h4>{% trans "Completed Shipments" %}</h4>
|
||||
</div>
|
||||
|
@ -4,8 +4,12 @@
|
||||
|
||||
{% trans "Line Items" as text %}
|
||||
{% include "sidebar_item.html" with label='order-items' text=text icon="fa-list-ol" %}
|
||||
{% trans "Shipments" as text %}
|
||||
{% include "sidebar_item.html" with label='order-shipments' text=text icon="fa-truck" %}
|
||||
{% if order.is_pending %}
|
||||
{% trans "Pending Shipments" as text %}
|
||||
{% include "sidebar_item.html" with label='order-shipments' text=text icon="fa-truck-loading" %}
|
||||
{% endif %}
|
||||
{% trans "Completed Shipments" as text %}
|
||||
{% include "sidebar_item.html" with label='order-shipments-complete' text=text icon="fa-truck" %}
|
||||
{% trans "Build Orders" as text %}
|
||||
{% include "sidebar_item.html" with label='order-builds' text=text icon="fa-tools" %}
|
||||
{% trans "Attachments" as text %}
|
||||
|
Loading…
Reference in New Issue
Block a user