mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #5602 from turbo124/v5-develop
Fixes for eager loading
This commit is contained in:
commit
40457b0a70
@ -27,7 +27,8 @@ class ClientPresenter extends EntityPresenter
|
|||||||
return $this->entity->name;
|
return $this->entity->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
$contact = $this->entity->primary_contact->first();
|
//$contact = $this->entity->primary_contact->first();
|
||||||
|
$contact = $this->entity->contacts->first();
|
||||||
|
|
||||||
$contact_name = 'No Contact Set';
|
$contact_name = 'No Contact Set';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user