Add separate 'quantity' and 'allocated' columns in sales order view

This commit is contained in:
Oliver Walters 2020-04-23 16:00:09 +10:00
parent c9ea33e22e
commit 5d71cf85cc

View File

@ -143,6 +143,11 @@ $("#so-lines-table").inventreeTable({
sortable: true,
field: 'quantity',
title: 'Quantity',
},
{
sortable: true,
field: 'allocated',
title: 'Allocated',
formatter: function(value, row, index, field) {
return makeProgressBar(row.allocated, row.quantity, {
id: `order-line-progress-${row.pk}`,