Show date on ticket list
This commit is contained in:
parent
603a6bc1de
commit
fd5e5e6ee5
@ -440,8 +440,16 @@ if ($total > 0)
|
|||||||
// Print custom fields
|
// Print custom fields
|
||||||
foreach ($hesk_settings['custom_fields'] as $key => $value)
|
foreach ($hesk_settings['custom_fields'] as $key => $value)
|
||||||
{
|
{
|
||||||
if ($value['use'] && hesk_show_column($key) )
|
if ($value['use'] && hesk_show_column($key)) {
|
||||||
echo '<td class="'.$color.'">'.$ticket[$key].'</td>';
|
echo '<td class="'.$color.'">';
|
||||||
|
if ($value['type'] == 'date' && !empty($ticket[$key])) {
|
||||||
|
$dt = date('Y-m-d h:i:s', $ticket[$key]);
|
||||||
|
echo hesk_dateToString($dt, 0);
|
||||||
|
} else {
|
||||||
|
echo $ticket[$key];
|
||||||
|
}
|
||||||
|
echo '</td>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// End ticket row
|
// End ticket row
|
||||||
|
Loading…
x
Reference in New Issue
Block a user