1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 21:52:35 +01:00
invoiceninja/app/Http/Controllers/VendorActivityController.php
2016-01-06 15:23:58 +01:00

28 lines
579 B
PHP

<?php namespace App\Http\Controllers;
use Auth;
use DB;
use Datatable;
use Utils;
use View;
use App\Models\Vendor;
use App\Models\VendorActivity;
use App\Services\VendorActivityService;
class VendorActivityController extends BaseController
{
protected $activityService;
public function __construct(VendorActivityService $activityService)
{
parent::__construct();
$this->activityService = $activityService;
}
public function getDatatable($vendorPublicId)
{
return $this->activityService->getDatatable($vendorPublicId);
}
}