1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Presenter variables for invoice

This commit is contained in:
David Bomba 2019-08-29 14:13:16 +10:00
parent 13f21710ce
commit 2704c179c7

View File

@ -50,5 +50,14 @@ class InvoicePresenter extends EntityPresenter
{
return $this->client->logo;
}
public function company_name()
{
return $this->company->present()->name()
}
public function company_address()
{
return $this->company->present()->address();
}
}