mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
28 lines
579 B
PHP
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);
|
|
}
|
|
}
|