mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +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\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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user