X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freport.tpl;h=432159d47f2249d83027a7f9ebe65ed7882a5e59;hb=b0f22cc10650051b1b7d58a33a6d4d603f936f0b;hp=a05618db94dbc373124240cf5afca2fccba73e44;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git
diff --git a/WEB-INF/templates/report.tpl b/WEB-INF/templates/report.tpl
index a05618db..432159d4 100644
--- a/WEB-INF/templates/report.tpl
+++ b/WEB-INF/templates/report.tpl
@@ -46,6 +46,7 @@
{if $bean->getAttribute('chduration')}
{/if}
{if $bean->getAttribute('chnote')}{/if}
{if $bean->getAttribute('chcost')}{/if}
+ {if $bean->getAttribute('chpaid')}{/if}
{if $bean->getAttribute('chinvoice')}{/if}
{foreach $report_items as $item}
@@ -66,6 +67,7 @@
{if $bean->getAttribute('chduration')}{$subtotals[$prev_grouped_by]['time']} | {/if}
{if $bean->getAttribute('chnote')} | {/if}
{if $bean->getAttribute('chcost')}{if $user->canManageTeam() || $user->isClient()}{$subtotals[$prev_grouped_by]['cost']}{else}{$subtotals[$prev_grouped_by]['expenses']}{/if} | {/if}
+ {if $bean->getAttribute('chpaid')} | {/if}
{if $bean->getAttribute('chinvoice')} | {/if}
|
@@ -88,6 +90,7 @@
{if $bean->getAttribute('chduration')}{$item.duration} | {/if}
{if $bean->getAttribute('chnote')}{$item.note|escape} | {/if}
{if $bean->getAttribute('chcost')}{if $user->canManageTeam() || $user->isClient()}{$item.cost}{else}{$item.expense}{/if} | {/if}
+ {if $bean->getAttribute('chpaid')}{if $item.paid == 1}{$i18n.label.yes}{else}{$i18n.label.no}{/if}{/if}
{if $bean->getAttribute('chinvoice')}
| {$item.invoice|escape} |
{if $use_checkboxes}
@@ -113,6 +116,7 @@
{if $bean->getAttribute('chduration')}{$subtotals[$cur_grouped_by]['time']} | {/if}
{if $bean->getAttribute('chnote')} | {/if}
{if $bean->getAttribute('chcost')}{if $user->canManageTeam() || $user->isClient()}{$subtotals[$cur_grouped_by]['cost']}{else}{$subtotals[$cur_grouped_by]['expenses']}{/if} | {/if}
+ {if $bean->getAttribute('chpaid')} | {/if}
{if $bean->getAttribute('chinvoice')} | {/if}
{/if}
@@ -130,6 +134,7 @@
{if $bean->getAttribute('chduration')}{$totals['time']} | {/if}
{if $bean->getAttribute('chnote')} | {/if}
{if $bean->getAttribute('chcost')}{$user->currency|escape} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if} | {/if}
+ {if $bean->getAttribute('chpaid')} | {/if}
{if $bean->getAttribute('chinvoice')} | {/if}
{/if}