Add documentation time column to ticket list #774
This commit is contained in:
parent
d44323c097
commit
2344ec716b
1 changed files with 15 additions and 0 deletions
|
|
@ -112,6 +112,21 @@
|
||||||
field: 'status',
|
field: 'status',
|
||||||
title: 'Status'
|
title: 'Status'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'flag_late_doc',
|
||||||
|
title: 'Documentation Time',
|
||||||
|
template: function (row, index, datatable) {
|
||||||
|
var tag = '';
|
||||||
|
|
||||||
|
if (!row.flag_late_doc) {
|
||||||
|
tag = '<span class="m-badge m-badge--success m-badge--wide">On Time</span>';
|
||||||
|
} else {
|
||||||
|
tag = '<span class="m-badge m-badge--danger m-badge--wide">Late</span>';
|
||||||
|
}
|
||||||
|
|
||||||
|
return tag;
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'Actions',
|
field: 'Actions',
|
||||||
width: 110,
|
width: 110,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue