X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Freport.tpl;h=a05618db94dbc373124240cf5afca2fccba73e44;hb=7e31ec9db2a079cb231416b8243a8efc52a92ad9;hp=6192b146514463a4af93bab4380872100697c74b;hpb=ed6483fa05ff6f489a7cfc4ff72fdc4d4d8f3889;p=timetracker.git
diff --git a/WEB-INF/templates/report.tpl b/WEB-INF/templates/report.tpl
index 6192b146..a05618db 100644
--- a/WEB-INF/templates/report.tpl
+++ b/WEB-INF/templates/report.tpl
@@ -14,13 +14,13 @@
{if $bean->getAttribute('chtotalsonly')}
-
+
{if $bean->getAttribute('chduration')}{/if}
{if $bean->getAttribute('chcost')}{/if}
{foreach $subtotals as $subtotal}
- {if $subtotal['name']}{$subtotal['name']|escape:'html'}{else} {/if} |
+ {if $subtotal['name']}{$subtotal['name']|escape}{else} {/if} |
{if $bean->getAttribute('chduration')}{$subtotal['time']} | {/if}
{if $bean->getAttribute('chcost')}{if $user->canManageTeam() || $user->isClient()}{$subtotal['cost']}{else}{$subtotal['expenses']}{/if} | {/if}
@@ -30,37 +30,37 @@
{$i18n.label.total} |
{if $bean->getAttribute('chduration')}{$totals['time']} | {/if}
- {if $bean->getAttribute('chcost')}{$user->currency|escape:'html'} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if} | {/if}
+ {if $bean->getAttribute('chcost')}{$user->currency|escape} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if} | {/if}
{else}
-
+
{if $user->canManageTeam() || $user->isClient()}{/if}
{if $bean->getAttribute('chclient')}{/if}
{if $bean->getAttribute('chproject')}{/if}
{if $bean->getAttribute('chtask')}{/if}
- {if $bean->getAttribute('chcf_1')}{/if}
+ {if $bean->getAttribute('chcf_1')}{/if}
{if $bean->getAttribute('chstart')}{/if}
{if $bean->getAttribute('chfinish')}{/if}
{if $bean->getAttribute('chduration')}{/if}
{if $bean->getAttribute('chnote')}{/if}
{if $bean->getAttribute('chcost')}{/if}
- {if $bean->getAttribute('chinvoice')}{/if}
+ {if $bean->getAttribute('chinvoice')}{/if}
{foreach $report_items as $item}
- {$cur_date = $item.date}
+ {$cur_date = $item.date}
{if $print_subtotals}
{$cur_grouped_by = $item.grouped_by}
{if $cur_grouped_by != $prev_grouped_by && !$first_pass}
{$i18n.label.subtotal}
- {if $user->canManageTeam() || $user->isClient()} | {if $group_by == 'user'}{$subtotals[$prev_grouped_by]['name']|escape:'html'} | {/if}{/if}
- {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$prev_grouped_by]['name']|escape:'html'} | {/if}{/if}
- {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$prev_grouped_by]['name']|escape:'html'} | {/if}{/if}
- {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$prev_grouped_by]['name']|escape:'html'} | {/if}{/if}
- {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$prev_grouped_by]['name']|escape:'html'} | {/if}{/if}
+ {if $user->canManageTeam() || $user->isClient()}{if $group_by == 'user'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
+ {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
+ {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
+ {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
+ {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
{if $bean->getAttribute('chstart')} | {/if}
{if $bean->getAttribute('chfinish')} | {/if}
{if $bean->getAttribute('chduration')}{$subtotals[$prev_grouped_by]['time']} | {/if}
@@ -70,7 +70,7 @@
|
{/if}
- {$first_pass = false}
+ {$first_pass = false}
{/if}
{if $cur_date != $prev_date}
@@ -78,18 +78,18 @@
{/if}
{$item.date} |
- {if $user->canManageTeam() || $user->isClient()}{$item.user|escape:'html'} | {/if}
- {if $bean->getAttribute('chclient')}{$item.client|escape:'html'} | {/if}
- {if $bean->getAttribute('chproject')}{$item.project|escape:'html'} | {/if}
- {if $bean->getAttribute('chtask')}{$item.task|escape:'html'} | {/if}
- {if $bean->getAttribute('chcf_1')}{$item.cf_1|escape:'html'} | {/if}
+ {if $user->canManageTeam() || $user->isClient()}{$item.user|escape} | {/if}
+ {if $bean->getAttribute('chclient')}{$item.client|escape} | {/if}
+ {if $bean->getAttribute('chproject')}{$item.project|escape} | {/if}
+ {if $bean->getAttribute('chtask')}{$item.task|escape} | {/if}
+ {if $bean->getAttribute('chcf_1')}{$item.cf_1|escape} | {/if}
{if $bean->getAttribute('chstart')}{$item.start} | {/if}
{if $bean->getAttribute('chfinish')}{$item.finish} | {/if}
{if $bean->getAttribute('chduration')}{$item.duration} | {/if}
- {if $bean->getAttribute('chnote')}{$item.note|escape:'html'} | {/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('chinvoice')}
- {$item.invoice|escape:'html'} |
+ {$item.invoice|escape} |
{if $use_checkboxes}
{if 1 == $item.type} | {/if}
{if 2 == $item.type} | {/if}
@@ -100,14 +100,14 @@
{if $print_subtotals} {$prev_grouped_by = $item.grouped_by} {/if}
{/foreach}
- {if $print_subtotals}
+ {if $print_subtotals}
{$i18n.label.subtotal}
- {if $user->canManageTeam() || $user->isClient()} | {if $group_by == 'user'}{$subtotals[$cur_grouped_by]['name']|escape:'html'} | {/if}{/if}
- {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$cur_grouped_by]['name']|escape:'html'} | {/if}{/if}
- {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$cur_grouped_by]['name']|escape:'html'} | {/if}{/if}
- {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$cur_grouped_by]['name']|escape:'html'} | {/if}{/if}
- {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$cur_grouped_by]['name']|escape:'html'} | {/if}{/if}
+ {if $user->canManageTeam() || $user->isClient()}{if $group_by == 'user'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
+ {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
+ {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
+ {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
+ {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
{if $bean->getAttribute('chstart')} | {/if}
{if $bean->getAttribute('chfinish')} | {/if}
{if $bean->getAttribute('chduration')}{$subtotals[$cur_grouped_by]['time']} | {/if}
@@ -129,7 +129,7 @@
{if $bean->getAttribute('chfinish')} | {/if}
{if $bean->getAttribute('chduration')}{$totals['time']} | {/if}
{if $bean->getAttribute('chnote')} | {/if}
- {if $bean->getAttribute('chcost')}{$user->currency|escape:'html'} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if} | {/if}
+ {if $bean->getAttribute('chcost')}{$user->currency|escape} {if $user->canManageTeam() || $user->isClient()}{$totals['cost']}{else}{$totals['expenses']}{/if} | {/if}
{if $bean->getAttribute('chinvoice')} | {/if}
{/if}
@@ -160,4 +160,4 @@
-
\ No newline at end of file
+