mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
28 lines
557 B
PHP
28 lines
557 B
PHP
<?php namespace App\Http\Controllers;
|
|
|
|
use Auth;
|
|
use DB;
|
|
use Datatable;
|
|
use Utils;
|
|
use View;
|
|
use App\Models\Client;
|
|
use App\Models\Activity;
|
|
use App\Services\ActivityService;
|
|
|
|
class ActivityController extends BaseController
|
|
{
|
|
protected $activityService;
|
|
|
|
public function __construct(ActivityService $activityService)
|
|
{
|
|
//parent::__construct();
|
|
|
|
$this->activityService = $activityService;
|
|
}
|
|
|
|
public function getDatatable($clientPublicId)
|
|
{
|
|
return $this->activityService->getDatatable($clientPublicId);
|
|
}
|
|
}
|