2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00

Add 'location_detail' filter

This commit is contained in:
Oliver Walters
2021-02-18 00:36:51 +11:00
committed by Oliver
parent caf52c6ce5
commit 0b8a50cd92
4 changed files with 106 additions and 1 deletions

View File

@ -12,6 +12,13 @@
{% endblock %}
{% block details %}
<h4>{% trans "Part Stock Allocations" %}</h4>
<table class='table table-striped table-condensed' id='build-order-table'></table>
<table class='table table-striped table-condensed' id='sales-order-table'></table>
<table class='table table-striped table-condensed' id='build-table'>
<tr>
<th>{% trans "Order" %}</th>
@ -39,6 +46,12 @@
{% block js_ready %}
{{ block.super }}
loadSalesOrderAllocationTable("#sales-order-table", {
params: {
part: {{ part.id }},
}
});
$("#build-table").inventreeTable({
columns: [
{