mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
28 lines
555 B
PHP
28 lines
555 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);
|
|
}
|
|
}
|