mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 05:25:42 +00:00
Update model for StockItem
This commit is contained in:
@ -78,9 +78,15 @@
|
||||
searchable: false,
|
||||
sortable: true,
|
||||
formatter: function(value, row, index, field) {
|
||||
return renderLink(value, row.url);
|
||||
var text = renderLink(value, row.url)
|
||||
text = text + "<span class='badge'>" + row.status + "</span>";
|
||||
return text;
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'notes',
|
||||
title: 'Notes',
|
||||
},
|
||||
],
|
||||
url: "{% url 'api-stock-list' %}"
|
||||
});
|
||||
|
Reference in New Issue
Block a user