Presenter variables for invoice
This commit is contained in:
parent
13f21710ce
commit
2704c179c7
1 changed files with 10 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue