mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 09:25:21 +00:00
fromatter for responsible group
This commit is contained in:
1 parent
7b3bc33b88
commit
4711f0b823
1 file changed
+10
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user