mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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" %}',
|
||||
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',
|
||||
title: '{% trans "Target Date" %}',
|
||||
|
Loading…
Reference in New Issue
Block a user