2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Add a custom template for the install item form

This commit is contained in:
Oliver Walters
2020-10-05 00:01:01 +11:00
parent 3fe0886207
commit 62734c4b72
4 changed files with 26 additions and 5 deletions

View File

@ -899,9 +899,6 @@ function loadInstalledInTable(table, options) {
var pk = subrow.pk;
var html = '';
html += row.sub_part_detail.full_name;
html += " | ";
if (subrow.serial && subrow.quantity == 1) {
html += `{% trans "Serial" %}: ${subrow.serial}`;
} else {
@ -918,6 +915,10 @@ function loadInstalledInTable(table, options) {
return stockStatusDisplay(value);
}
},
{
field: 'batch',
title: '{% trans "Batch" %}',
},
{
field: 'actions',
title: '',