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:
parent
13f21710ce
commit
2704c179c7
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user