convert setting('default.currency') to default_currency() helper function..
This commit is contained in:
@ -50,7 +50,7 @@ class Script extends Component
|
||||
$this->document = $document;
|
||||
$this->items = $items;
|
||||
$this->currencies = $this->getCurrencies($currencies);
|
||||
$this->currency_code = ($document) ? $document->currency_code : setting('default.currency');
|
||||
$this->currency_code = ($document) ? $document->currency_code : default_currency();
|
||||
$this->taxes = $this->getTaxes($taxes);
|
||||
|
||||
$this->alias = $this->getAlias($type, $alias);
|
||||
|
Reference in New Issue
Block a user