mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
Add a custom "id" to the progress bar
This commit is contained in:
@ -133,7 +133,9 @@ $("#so-lines-table").inventreeTable({
|
||||
field: 'quantity',
|
||||
title: 'Quantity',
|
||||
formatter: function(value, row, index, field) {
|
||||
return makeProgressBar(row.allocated, row.quantity);
|
||||
return makeProgressBar(row.allocated, row.quantity, {
|
||||
id: `order-line-progress-${row.pk}`,
|
||||
});
|
||||
},
|
||||
sorter: function(valA, valB, rowA, rowB) {
|
||||
|
||||
|
Reference in New Issue
Block a user