diversen
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* Date: 21/04/2018
|
||||
* Time: 20:08
|
||||
*/
|
||||
include_once('../application/models/eloquent/Employeetarget.php');
|
||||
//include_once('../application/models/eloquent/Employeetarget.php');
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class EmployeeTargetController extends MY_Controller {
|
||||
public function getEmployeeTargets( $employeeID )
|
||||
{
|
||||
$employeeTargets = Employeetarget::whereUserId( $employeeID )
|
||||
->orderBy( 'startdate' )
|
||||
->orderBy( 'id' )
|
||||
->get();
|
||||
|
||||
$this->json( $employeeTargets );
|
||||
|
||||
Reference in New Issue
Block a user