X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=invoices.php;h=ba1cad4620bd5f7b90493ef2de4ec803064474f5;hb=1dc4d7237116ebf149921a5988be96ab2cf40f3c;hp=1723a8d1dc698f42af6b9c2825fd550a62d38f58;hpb=4dcb88a76a3de466ee6116ae0852f53ba2b259a5;p=timetracker.git diff --git a/invoices.php b/invoices.php index 1723a8d1..ba1cad46 100644 --- a/invoices.php +++ b/invoices.php @@ -28,7 +28,7 @@ require_once('initialize.php'); import('form.Form'); -import('ttTeamHelper'); +import('ttGroupHelper'); // Access checks. if (!(ttAccessAllowed('manage_invoices') || ttAccessAllowed('view_own_invoices'))) { @@ -39,8 +39,9 @@ if (!$user->isPluginEnabled('iv')) { header('Location: feature_disabled.php'); exit(); } +// End of access checks. -$invoices = ttTeamHelper::getActiveInvoices(); +$invoices = ttGroupHelper::getActiveInvoices(); $smarty->assign('invoices', $invoices); $smarty->assign('title', $i18n->get('title.invoices'));