mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
"Part" column in Stock table links to supplier part
(cherry picked from commit 5f0080cc54
)
This commit is contained in:
parent
2506aa110b
commit
14d18e9d95
@ -228,8 +228,10 @@ function loadStockTable(table, options) {
|
|||||||
name += " | ";
|
name += " | ";
|
||||||
name += row.part__revision;
|
name += row.part__revision;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var url = `/supplier-part/${row.supplier_part}/`;
|
||||||
|
|
||||||
return imageHoverIcon(row.part__thumbnail) + renderLink(name, '/part/' + row.part + '/stock/');
|
return imageHoverIcon(row.part__thumbnail) + renderLink(name, url);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user