1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Http/Controllers/VendorActivityController.php

28 lines
579 B
PHP
Raw Normal View History

2016-01-06 15:23:58 +01:00
<?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);
}
}