X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Finvoices.tpl;h=b966f9e247e81c01bf29489ddf315371c7bbd43b;hb=1cfc9f9452a2e397fca1886825fff29fad409e5c;hp=0fad98d21b6c23bf12a93a7edfd95a745a093771;hpb=df8a6c4cd909701bef9e6b58a71271846c527148;p=timetracker.git
diff --git a/WEB-INF/templates/invoices.tpl b/WEB-INF/templates/invoices.tpl
index 0fad98d2..b966f9e2 100644
--- a/WEB-INF/templates/invoices.tpl
+++ b/WEB-INF/templates/invoices.tpl
@@ -5,7 +5,7 @@
-{if $user->canManageTeam() || $user->isClient()}
+{if $user->can('manage_invoices') || $user->can('view_own_invoices')}
@@ -37,7 +37,7 @@
{if !$user->isClient()}
{/if}
{/if}
|