mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add separate 'quantity' and 'allocated' columns in sales order view
This commit is contained in:
parent
c9ea33e22e
commit
5d71cf85cc
@ -143,6 +143,11 @@ $("#so-lines-table").inventreeTable({
|
|||||||
sortable: true,
|
sortable: true,
|
||||||
field: 'quantity',
|
field: 'quantity',
|
||||||
title: 'Quantity',
|
title: 'Quantity',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
sortable: true,
|
||||||
|
field: 'allocated',
|
||||||
|
title: 'Allocated',
|
||||||
formatter: function(value, row, index, field) {
|
formatter: function(value, row, index, field) {
|
||||||
return makeProgressBar(row.allocated, row.quantity, {
|
return makeProgressBar(row.allocated, row.quantity, {
|
||||||
id: `order-line-progress-${row.pk}`,
|
id: `order-line-progress-${row.pk}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user