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',
|
field: 'responsible',
|
||||||
title: '{% trans "Resposible" %}',
|
title: '{% trans "Resposible" %}',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
|
formatter: function(value, row, index, field) {
|
||||||
|
if (value)
|
||||||
|
{
|
||||||
|
return row.responsible_detail.name;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return '{% trans "No information" %}';
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'target_date',
|
field: 'target_date',
|
||||||
|
Loading…
Reference in New Issue
Block a user