adding new fields into table

This commit is contained in:
Matthias 2021-07-03 01:49:18 +02:00
parent 4f432d4db2
commit ffa9dd18cf

View File

@ -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" %}',