mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fromatter for responsible group
This commit is contained in:
parent
7b3bc33b88
commit
4711f0b823
@ -895,6 +895,16 @@ function loadBuildTable(table, options) {
|
||||
field: 'responsible',
|
||||
title: '{% trans "Resposible" %}',
|
||||
sortable: true,
|
||||
formatter: function(value, row, index, field) {
|
||||
if (value)
|
||||
{
|
||||
return row.responsible_detail.name;
|
||||
}
|
||||
else
|
||||
{
|
||||
return '{% trans "No information" %}';
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'target_date',
|
||||
|
Loading…
Reference in New Issue
Block a user