2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Custom table display for installed stock items

This commit is contained in:
Oliver Walters
2020-09-28 20:19:56 +10:00
parent d684ed076b
commit b58f7d7461
2 changed files with 100 additions and 11 deletions

View File

@ -416,14 +416,6 @@ function loadStockTable(table, options) {
visible: false,
switchable: false,
},
{
field: 'IPN',
title: 'IPN',
sortable: true,
formatter: function(value, row, index, field) {
return row.part_detail.IPN;
},
},
{
field: 'part_name',
title: '{% trans "Part" %}',
@ -439,6 +431,14 @@ function loadStockTable(table, options) {
return html;
}
},
{
field: 'IPN',
title: 'IPN',
sortable: true,
formatter: function(value, row, index, field) {
return row.part_detail.IPN;
},
},
{
field: 'part_description',
title: '{% trans "Description" %}',