X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Finvoices.tpl;h=b966f9e247e81c01bf29489ddf315371c7bbd43b;hb=abfd3bbc6a72c55b30d48466b2719804ebee6733;hp=32d09544fb213a4b8c39ddc328d852fd89ba7170;hpb=cdb0911b4f72d4bb1df7cd82f2bce0d9ab1579b0;p=timetracker.git
diff --git a/WEB-INF/templates/invoices.tpl b/WEB-INF/templates/invoices.tpl
index 32d09544..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')}
|