mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 13:44:35 -04:00
Presenter variables for invoice
This commit is contained in:
parent
13f21710ce
commit
2704c179c7
@ -50,5 +50,14 @@ class InvoicePresenter extends EntityPresenter
|
|||||||
{
|
{
|
||||||
return $this->client->logo;
|
return $this->client->logo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function company_name()
|
||||||
|
{
|
||||||
|
return $this->company->present()->name()
|
||||||
|
}
|
||||||
|
|
||||||
|
public function company_address()
|
||||||
|
{
|
||||||
|
return $this->company->present()->address();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user