Merge pull request #316 from SchrodingersGat/stock-bug-fix

Fix part name display
This commit is contained in:
Oliver 2019-05-13 19:00:26 +10:00 committed by GitHub
commit 6ae185ec0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>";