mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Bug Fixes (#3233)
* Working on projects and tasks * Fixes for company transformer
This commit is contained in:
parent
a1ae991684
commit
1e7b9007d1
@ -26,6 +26,7 @@ use App\Models\Quote;
|
|||||||
use App\Models\Task;
|
use App\Models\Task;
|
||||||
use App\Models\TaxRate;
|
use App\Models\TaxRate;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
|
use App\Transformers\TaskTransformer;
|
||||||
use App\Utils\Traits\MakesHash;
|
use App\Utils\Traits\MakesHash;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -150,7 +151,7 @@ class CompanyTransformer extends EntityTransformer
|
|||||||
return $this->includeCollection($company->projects, $transformer, Project::class);
|
return $this->includeCollection($company->projects, $transformer, Project::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function includeClients(Company $company)
|
public function includeTasks(Company $company)
|
||||||
{
|
{
|
||||||
$transformer = new TaskTransformer($this->serializer);
|
$transformer = new TaskTransformer($this->serializer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user