1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/Http/Controllers/ActivityController.php
2015-11-06 00:37:04 +02:00

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);
}
}