From 13f21710ce1ad200d41f630c968d8cfe58701a64 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 29 Aug 2019 14:12:09 +1000 Subject: [PATCH] Presenter variables for invoice --- app/Models/Presenters/InvoicePresenter.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/Models/Presenters/InvoicePresenter.php b/app/Models/Presenters/InvoicePresenter.php index cdfb0874c5b7..8cb650af83df 100644 --- a/app/Models/Presenters/InvoicePresenter.php +++ b/app/Models/Presenters/InvoicePresenter.php @@ -40,4 +40,15 @@ class InvoicePresenter extends EntityPresenter { return $this->client->present()->shipping_address(); } + + public function company_logo() + { + return $this->company->logo; + } + + public function client_logo() + { + return $this->client->logo; + } + }