From f79db38c1be86de7718d13bae69065d97b62b98d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 22 Mar 2018 15:31:23 +0200 Subject: [PATCH] Fix for refund payment currency symbol --- app/Ninja/Presenters/PaymentPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Ninja/Presenters/PaymentPresenter.php b/app/Ninja/Presenters/PaymentPresenter.php index 97505a7c21..ade396567e 100644 --- a/app/Ninja/Presenters/PaymentPresenter.php +++ b/app/Ninja/Presenters/PaymentPresenter.php @@ -19,7 +19,7 @@ class PaymentPresenter extends EntityPresenter public function currencySymbol() { - return Utils::getFromCache($this->entity->currency_id ? $this->entity->currency_id : DEFAULT_CURRENCY, 'currencies')->symbol; + return Utils::getFromCache($this->entity->client->currency_id ? $this->entity->client->currency_id : DEFAULT_CURRENCY, 'currencies')->symbol; } public function client()