mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add link column to PO LineItem table (#4500)
* add link column to PO LineItem table * fix JS styling
This commit is contained in:
parent
16ff1936cd
commit
a0352f9eb6
@ -2462,6 +2462,18 @@ function loadPurchaseOrderLineItemTable(table, options={}) {
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
sortable: false,
|
||||
field: 'supplier_part_detail.link',
|
||||
title: '{% trans "Link" %}',
|
||||
formatter: function(value, row, index, field) {
|
||||
if (value) {
|
||||
return renderLink(value, value);
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
sortable: true,
|
||||
sortName: 'MPN',
|
||||
|
Loading…
Reference in New Issue
Block a user