2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 13:35:40 +00:00

Improvements to progress bar function

This commit is contained in:
Oliver Walters
2020-10-21 00:49:17 +11:00
parent 8ae16a125e
commit 96277edcf1
4 changed files with 37 additions and 10 deletions

View File

@ -102,6 +102,15 @@ function loadBuildTable(table, options) {
field: 'quantity',
title: '{% trans "Quantity" %}',
sortable: true,
formatter: function(value, row, index, field) {
return makeProgressBar(
row.completed,
row.quantity,
{
style: 'max',
}
);
}
},
{
field: 'status',