mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
adding new fields into table
This commit is contained in:
parent
4f432d4db2
commit
ffa9dd18cf
@ -876,6 +876,26 @@ function loadBuildTable(table, options) {
|
|||||||
title: '{% trans "Created" %}',
|
title: '{% trans "Created" %}',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'issued_by',
|
||||||
|
title: '{% trans "Issued by" %}',
|
||||||
|
sortable: true,
|
||||||
|
formatter: function(value, row, index, field) {
|
||||||
|
if (value)
|
||||||
|
{
|
||||||
|
return row.issued_by_detail.username;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return '{% trans "No user information" %}';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'responsible',
|
||||||
|
title: '{% trans "Resposible" %}',
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'target_date',
|
field: 'target_date',
|
||||||
title: '{% trans "Target Date" %}',
|
title: '{% trans "Target Date" %}',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user