projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added paid column as an optional output on displayed reports.
[timetracker.git]
/
WEB-INF
/
templates
/
reports.tpl
diff --git
a/WEB-INF/templates/reports.tpl
b/WEB-INF/templates/reports.tpl
index
5ca7a17
..
c851a1c
100644
(file)
--- a/
WEB-INF/templates/reports.tpl
+++ b/
WEB-INF/templates/reports.tpl
@@
-209,6
+209,14
@@
function handleCheckboxes() {
<td>{$forms.reportForm.invoice.control}</td>
</tr>
{/if}
<td>{$forms.reportForm.invoice.control}</td>
</tr>
{/if}
+{if ($user->canManageTeam() && $user->isPluginEnabled('ps'))}
+ <tr>
+ <td><b>{$i18n.label.paid_status}</b></td>
+ </tr>
+ <tr>
+ <td>{$forms.reportForm.paid_status.control}</td>
+ </tr>
+{/if}
{if $user->canManageTeam() || $user->isClient()}
<tr>
<td colspan="3"><b>{$i18n.label.users}</b></td>
{if $user->canManageTeam() || $user->isClient()}
<tr>
<td colspan="3"><b>{$i18n.label.users}</b></td>
@@
-243,6
+251,9
@@
function handleCheckboxes() {
{/if}
{if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')}
<td width="25%"><label>{$forms.reportForm.chinvoice.control} {$i18n.label.invoice}</label></td>
{/if}
{if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')}
<td width="25%"><label>{$forms.reportForm.chinvoice.control} {$i18n.label.invoice}</label></td>
+ {/if}
+ {if ($user->canManageTeam() && $user->isPluginEnabled('ps'))}
+ <td width="25%"><label>{$forms.reportForm.chpaid.control} {$i18n.label.paid}</label></td>
{/if}
</tr>
{/if}
{/if}
</tr>
{/if}