{include file="header.inc.tpl" title="Projekty"}
<table>
<tr>
<th>ID</th>
<th>Meno</th>
<th>Zákazník</th>
<th>Stav</th>
<th>Založený</th>
<th>Ukončený</th>
<th>Hotové<br>úlohy</th>
<th>Otvorené<br>úlohy</th>
<th>Odpracované</th>
<th>Plánované</th>
</tr>
{section name=project loop=$projects}
{if $projects[project].min_deadline_ts != 0 && $smarty.now > $projects[project].min_deadline_ts}
<tr bgcolor="red">
{else}
<tr>
{/if}
<td>{$projects[project].id}</td>
<td>
<a href="{$SCRIPT_NAME}?action=project_view&id={$projects[project].id}">
{$projects[project].name|escape}</a>
</td>
<td>{$projects[project].customer_name|escape|default:" "}</td>
<td align="center">{$projects[project].state|default:" "}</td>
<td>{$projects[project].started|date_format:"%Y-%m-%d"|default:" "}</td>
<td>{$projects[project].finished|date_format:"%Y-%m-%d"|default:" "}</td>
<td align="center">{$projects[project].tasks_done}</td>
<td align="center">{$projects[project].tasks_opened}</td>
<td align="center">{$projects[project].duration_done|work_mh_md}</td>
<td align="center">{$projects[project].duration_opened|work_mh_md}</td>
</tr>
{sectionelse}
<tr>
<td colspan="10">Databáza neobsahuje žiadne projekty.</td>
</tr>
{/section}
</table>
{include file="footer.inc.tpl"}
Platon Group <platon@platon.sk> http://platon.sk/
|