X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Finvoices.tpl;h=b966f9e247e81c01bf29489ddf315371c7bbd43b;hb=3297bc03f58074f5b688d867f3477e6af47d73de;hp=1dfd43ad9b26a0bb65963a70d84fe8bae341a4d9;hpb=6856837ddde5cc90ac5dad2e5d67204036ec3158;p=timetracker.git
diff --git a/WEB-INF/templates/invoices.tpl b/WEB-INF/templates/invoices.tpl
index 1dfd43ad..b966f9e2 100644
--- a/WEB-INF/templates/invoices.tpl
+++ b/WEB-INF/templates/invoices.tpl
@@ -5,12 +5,15 @@
-{if $user->canManageTeam() || $user->isClient()}
+{if $user->can('manage_invoices') || $user->can('view_own_invoices')}
+ {if $user->isPluginEnabled('ps')}
+
+ {/if}
{if !$user->isClient()}
@@ -21,6 +24,9 @@
{$invoice.name|escape} |
{$invoice.client_name|escape} |
{$invoice.date} |
+ {if $user->isPluginEnabled('ps')}
+ {if $invoice.paid}{$i18n.label.yes}{else}{$i18n.label.no}{/if} |
+ {/if}
{$i18n.label.view} |
{if !$user->isClient()}
{$i18n.label.delete} |
@@ -31,7 +37,7 @@
{if !$user->isClient()}
{/if}
{/if}
|