1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00
* Working on projects and tasks

* Fixes for company transformer
This commit is contained in:
David Bomba 2020-01-21 20:13:16 +11:00 committed by GitHub
parent a1ae991684
commit 1e7b9007d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ use App\Models\Quote;
use App\Models\Task;
use App\Models\TaxRate;
use App\Models\User;
use App\Transformers\TaskTransformer;
use App\Utils\Traits\MakesHash;
/**
@ -150,7 +151,7 @@ class CompanyTransformer extends EntityTransformer
return $this->includeCollection($company->projects, $transformer, Project::class);
}
public function includeClients(Company $company)
public function includeTasks(Company $company)
{
$transformer = new TaskTransformer($this->serializer);