mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 15:14:35 -04:00
Presenter variables for invoice
This commit is contained in:
parent
13f21710ce
commit
2704c179c7
@ -51,4 +51,13 @@ 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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user