Dashboard für Lehraufträge hinzugefügt

This commit is contained in:
Andreas Österreicher
2019-11-12 16:02:13 +01:00
parent 80ed75a6ad
commit 609adcc431
3 changed files with 100 additions and 45 deletions
@@ -26,6 +26,7 @@ class Lehrauftrag extends Auth_Controller
array(
'index' => 'lehre/lehrauftrag_bestellen:r',
'orderLehrauftrag' => 'lehre/lehrauftrag_bestellen:rw',
'Dashboard' => array('lehre/lehrauftrag_bestellen:r', 'lehre/lehrauftrag_erteilen:rw')
)
);
@@ -59,6 +60,15 @@ class Lehrauftrag extends Auth_Controller
$this->setControllerId(); // sets the controller id
}
/**
* Display of Custom Dashboard for Lehraufträge App
* Charts are hooked from Reporting Addon
*/
public function Dashboard()
{
$this->load->view('lehre/lehrauftrag/Dashboard.php');
}
// -----------------------------------------------------------------------------------------------------------------
// Public methods
/**