1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/app/Http/Controllers/ActivityController.php

28 lines
555 B
PHP
Raw Normal View History

2015-03-17 02:30:56 +01:00
<?php namespace App\Http\Controllers;
use Auth;
use DB;
use Datatable;
use Utils;
2015-04-22 23:40:21 +02:00
use View;
2015-10-28 20:22:07 +01:00
use App\Models\Client;
use App\Models\Activity;
2015-11-05 23:37:04 +01:00
use App\Services\ActivityService;
2015-03-16 22:45:25 +01:00
2015-04-02 15:12:12 +02:00
class ActivityController extends BaseController
2015-03-16 22:45:25 +01:00
{
2015-11-05 23:37:04 +01:00
protected $activityService;
2015-10-28 20:22:07 +01:00
2015-11-05 23:37:04 +01:00
public function __construct(ActivityService $activityService)
2015-10-28 20:22:07 +01:00
{
parent::__construct();
2015-11-05 23:37:04 +01:00
$this->activityService = $activityService;
2015-10-28 20:22:07 +01:00
}
2015-03-16 22:45:25 +01:00
public function getDatatable($clientPublicId)
{
2015-11-05 23:37:04 +01:00
return $this->activityService->getDatatable($clientPublicId);
2015-03-16 22:45:25 +01:00
}
}