2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-30 18:50:53 +00:00

Add unallocated quantity to StockItem renderer (#4425)

* add unallocated quantity to StockItem renderer

* introduce parameter to switch between total quantity and available quantity
This commit is contained in:
simonkuehling
2023-02-28 02:22:27 +01:00
committed by GitHub
parent 71db557d3b
commit e9a1b57941
2 changed files with 13 additions and 1 deletions

View File

@ -2296,6 +2296,7 @@ function allocateStockToBuild(build_id, part_id, bom_items, options={}) {
render_part_detail: true,
render_location_detail: true,
render_pk: false,
render_available_quantity: true,
auto_fill: true,
auto_fill_filters: auto_fill_filters,
onSelect: function(data, field, opts) {