diff --git a/InvenTree/build/templates/build/allocate.html b/InvenTree/build/templates/build/allocate.html index 9f504e0901..3471b1283a 100644 --- a/InvenTree/build/templates/build/allocate.html +++ b/InvenTree/build/templates/build/allocate.html @@ -62,7 +62,10 @@ InvenTree | Allocate Parts {% else %} - $("#build-list").bootstrapTable({}); + $("#build-list").bootstrapTable({ + search: true, + sortable: true, + }); $("#btn-allocate").click(function() { location.href = "{% url 'build-allocate' build.id %}?edit=1"; diff --git a/InvenTree/build/templates/build/allocate_view.html b/InvenTree/build/templates/build/allocate_view.html index 4f60405ff0..b37f079b9d 100644 --- a/InvenTree/build/templates/build/allocate_view.html +++ b/InvenTree/build/templates/build/allocate_view.html @@ -10,12 +10,12 @@
Part | +Part | Description | -Available | -On Order | -Required | -Allocated | +Available | +Required | +Allocated | +On Order | {{ item.part.description }} | {{ item.part.total_stock }} | -{{ item.part.on_order }} | {{ item.quantity }} | {{ item.allocated }} | +{{ item.part.on_order }} | {% endfor %}
---|