diff --git a/application/controllers/Main.php b/application/controllers/Main.php index 0299dab..8081b7f 100755 --- a/application/controllers/Main.php +++ b/application/controllers/Main.php @@ -10,6 +10,8 @@ class Main extends MY_Controller { public function index() { + if( $_ENV['MAINTENANCE']) return $this->load->view('underconstruction'); + if ( AUTHENTICATED == FALSE ) return $this->showLoginPage(); $pages = Page::getPages( $this->user ); diff --git a/application/views/underconstruction.php b/application/views/underconstruction.php new file mode 100644 index 0000000..7722fcf --- /dev/null +++ b/application/views/underconstruction.php @@ -0,0 +1,79 @@ + + + + + + + + + + +
+
+
+
+

+ :) Oops!

+

+ Momenteel wordt aan de site gewerkt

+

+ We zijn snel weer terug

+
+

+ Excuses voor het ongemak maar we zijn momenteel bezig om de appliactie aan te passen,

+

+ — Grippa Zorg Team

+
+
+
+
+ + + + + + + + + +
+
+
+ + + + + diff --git a/public/js/lib/modules/reports/monthlyEmployeeHoursModule.js b/public/js/lib/modules/reports/monthlyEmployeeHoursModule.js index 7d363d4..8ab3952 100644 --- a/public/js/lib/modules/reports/monthlyEmployeeHoursModule.js +++ b/public/js/lib/modules/reports/monthlyEmployeeHoursModule.js @@ -168,7 +168,6 @@ dbo.monthlyemployeehoursInit = function () { if ( vm.currentTab == false ) return; dbo.reportsDataService.getEmployeeHours( userID, vm.selectedYear(), function ( data ) { - console.log( data ); vm.currentTab.myData( data ); vm.currentTab.totalJanuari( 0 ); vm.currentTab.totalFebruari( 0 );