From 2e07a12e6fd1133cabf64f6e8f5b81d79bf7d6de Mon Sep 17 00:00:00 2001 From: vedatakd Date: Wed, 10 Mar 2021 16:37:35 +0300 Subject: [PATCH] fixed currency_format default currency --- .../visiosoft/advs-module/src/Support/Command/Currency.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/default/visiosoft/advs-module/src/Support/Command/Currency.php b/addons/default/visiosoft/advs-module/src/Support/Command/Currency.php index 12dfebc50..d7c2ac70f 100644 --- a/addons/default/visiosoft/advs-module/src/Support/Command/Currency.php +++ b/addons/default/visiosoft/advs-module/src/Support/Command/Currency.php @@ -5,7 +5,7 @@ class Currency public function format($number, $currency = null, array $options = []) { - $currency = strtoupper($currency ?: config('streams::currencies.default')); + $currency = strtoupper($currency ?: setting_value('streams::currency')); $direction = array_get( $options,