where l.status = 1 and l.duration > 0 and l.user_id = $user_id $q_period group by l.task_id";
} elseif (CHART_CLIENTS == $chart_type) {
// Data for clients.
- $sql = "select coalesce(c.name, 'NULL') as name, sum(time_to_sec(l.duration)) as time from tt_log l
+ $sql = "select c.name as name, sum(time_to_sec(l.duration)) as time from tt_log l
left join tt_clients c on (c.id = l.client_id)
where l.status = 1 and l.duration > 0 and l.user_id = $user_id $q_period group by l.client_id";
}
</table>
<table border="0" width="720">
<tr>
- <td width="50%" align="center"><img src="{$img_file_name}" border="0"/></td>
+ <td width="50%" align="center"><img src="{$img_file_name}" height="300" width="300" border="0"/></td>
<td>
<table border="0" cellspacing="3">
{section name=i loop=$totals}
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.18.29.4573 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.18.29.4574 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>