2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Refactor POLineItemCreate form

This commit is contained in:
Oliver
2021-07-03 21:43:22 +10:00
parent c524f754e9
commit 889834b693
6 changed files with 30 additions and 172 deletions

View File

@ -145,9 +145,11 @@ function renderSupplierPart(name, data, parameters, options) {
var html = `<img src='${image}' class='select2-thumbnail'>`;
html += ` <span><b>${data.supplier_detail.name}</b> - ${data.SKU}</span>`;
html += ` - <i>${data.part_detail.full_name}</i>`;
html += `<span class='float-right'>{% trans "Supplier Part ID" %}: ${data.pk}</span>`;
return html;
}