isPluginEnabled('iv')) { header('Location: feature_disabled.php'); exit(); } // End of access checks. $invoices = ttGroupHelper::getActiveInvoices(); $smarty->assign('invoices', $invoices); $smarty->assign('title', $i18n->get('title.invoices')); $smarty->assign('content_page_name', 'invoices.tpl'); $smarty->display('index.tpl');