start reports

This commit is contained in:
2018-02-08 17:01:22 +01:00
parent 74847beb3b
commit 0441ba7b81
10 changed files with 190 additions and 1 deletions
@@ -34,6 +34,13 @@ class usersController extends MY_Controller {
$this->json( $users );
}
public function getUniqueprojectEmployees()
{
$projectEmployees = User::getUniqueProjectUsers();
$this->json( $projectEmployees );
}
public function saveUser()
{
$userValidation = new UserValidation();
@@ -0,0 +1,34 @@
<?php
defined( 'BASEPATH' ) OR exit( 'No direct script access allowed' );
/**
* Created by Pensare Software.
* User: Theo Weijmer
* Date: 08/02/2018
* Time: 15:16
*/
class EmployeeHoursController extends MY_Controller {
public function __construct()
{
parent::__construct();
if ( AUTHENTICATED == FALSE ) die( 'NO ACCES' );
$models = [];
$libraries = [];
$this->load->model( $models );
$this->load->library( $libraries );
}
public function index()
{
}
public function getMonthlyEmployeeHoursPerProject()
{
}
}