mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +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,
|
sortable: true,
|
||||||
sortName: 'MPN',
|
sortName: 'MPN',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user