Fix part name display

This commit is contained in:
Oliver Walters 2019-05-13 18:56:51 +10:00
parent 9e745d3e5f
commit fa7555e34b

View File

@ -64,7 +64,7 @@ function updateStock(items, options={}) {
html += '<tr>';
html += '<td>' + item.part.name + '</td>';
html += '<td>' + item.part.full_name + '</td>';
if (item.location) {
html += '<td>' + item.location.name + '</td>';
@ -289,7 +289,7 @@ function moveStockItems(items, options) {
html += "<tr>";
html += "<td>" + item.part.name + "</td>";
html += "<td>" + item.part.full_name + "</td>";
html += "<td>" + item.location.pathstring + "</td>";
html += "<td>" + item.quantity + "</td>";