Diverse wijzigingen nav word document
This commit is contained in:
@@ -60,12 +60,19 @@ class usersController extends MY_Controller {
|
||||
$this->json( $userActiveProjects );
|
||||
}
|
||||
|
||||
public function getUniqueprojectEmployees()
|
||||
{
|
||||
$projectEmployees = User::getUniqueProjectUsers();
|
||||
public function getUniqueprojectEmployees()
|
||||
{
|
||||
$projectEmployees = User::getUniqueProjectUsers();
|
||||
|
||||
$this->json( $projectEmployees );
|
||||
}
|
||||
$this->json( $projectEmployees );
|
||||
}
|
||||
|
||||
public function getUniqueEmployeesWithActivity($archive)
|
||||
{
|
||||
$projectEmployees = Projectemployee::getUniqueEmployeesWithActivity($archive);
|
||||
|
||||
$this->json( $projectEmployees );
|
||||
}
|
||||
|
||||
public function saveUser()
|
||||
{
|
||||
|
||||
@@ -29,7 +29,10 @@ class ReportsController extends MY_Controller {
|
||||
|
||||
public function recapProjects( $archive )
|
||||
{
|
||||
$recapprojects = new Recapprojects( $archive );
|
||||
$field = $this->input->post('field');
|
||||
$direction = $this->input->post('direction');
|
||||
|
||||
$recapprojects = new Recapprojects( $archive, $field, $direction );
|
||||
|
||||
$projects = $recapprojects->getProjects();
|
||||
|
||||
@@ -84,4 +87,4 @@ class ReportsController extends MY_Controller {
|
||||
Project::whereId( $projectID )->update( ['current_financial_year' => $amount] );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user