diff --git a/application/controllers/lehre/lehrauftrag/Lehrauftrag.php b/application/controllers/lehre/lehrauftrag/Lehrauftrag.php index 28f6ee8ec..52fec3907 100644 --- a/application/controllers/lehre/lehrauftrag/Lehrauftrag.php +++ b/application/controllers/lehre/lehrauftrag/Lehrauftrag.php @@ -95,7 +95,7 @@ class Lehrauftrag extends Auth_Controller 'studiensemester_selected' => $studiensemester_kurzbz ); - $this->load->view('lehre/lehrauftrag/lehrauftrag.php', $view_data); + $this->load->view('lehre/lehrauftrag/orderLehrauftrag.php', $view_data); } public function orderLehrauftrag() diff --git a/application/views/lehre/lehrauftrag/approveLehrauftrag.php b/application/views/lehre/lehrauftrag/approveLehrauftrag.php index 5ffc2adac..2e16bec82 100644 --- a/application/views/lehre/lehrauftrag/approveLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/approveLehrauftrag.php @@ -84,9 +84,8 @@ $this->load->view( - - + @@ -165,6 +164,10 @@ $(function() { ); }); + $("#download-cvs").click(function(){ + $('#filterTabulator').tabulator("download", "csv", "data.csv"); + }); + // Approve Lehrauftraege $("#approve-lehrauftraege").click(function(){ diff --git a/application/views/lehre/lehrauftrag/lehrauftrag.php b/application/views/lehre/lehrauftrag/orderLehrauftrag.php similarity index 97% rename from application/views/lehre/lehrauftrag/lehrauftrag.php rename to application/views/lehre/lehrauftrag/orderLehrauftrag.php index 6bccaa42b..3a33bb53a 100644 --- a/application/views/lehre/lehrauftrag/lehrauftrag.php +++ b/application/views/lehre/lehrauftrag/orderLehrauftrag.php @@ -75,7 +75,7 @@ $this->load->view(