mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +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…
x
Reference in New Issue
Block a user