mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-16 14:04:34 -04:00
28 lines
593 B
PHP
28 lines
593 B
PHP
<?php namespace App\Http\Controllers;
|
|
// vendor
|
|
use Auth;
|
|
use DB;
|
|
use Datatable;
|
|
use Utils;
|
|
use View;
|
|
use App\Models\Expense;
|
|
use App\Models\ExpenseActivity;
|
|
use App\Services\ExpenseActivityService;
|
|
|
|
class ExpenseActivityController extends BaseController
|
|
{
|
|
protected $activityService;
|
|
|
|
public function __construct(ExpenseActivityService $activityService)
|
|
{
|
|
parent::__construct();
|
|
|
|
$this->activityService = $activityService;
|
|
}
|
|
|
|
public function getDatatable($vendorPublicId)
|
|
{
|
|
return $this->activityService->getDatatable($vendorPublicId);
|
|
}
|
|
}
|