mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for eager loading
This commit is contained in:
parent
f2cf84669c
commit
ff7799b0bf
@ -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