this file contains predefined list of currencies which is not full, for example there are no cryptocurrencies which openexchangerates system supports, that's why i cant add BTC currency:
/**
* Update currency in storage.
*
* @param string $currency
*
* @return void
*/
protected function update($currency)
{
if (($data = $this->getCurrency($currency)) === null) {
return $this->error("Currency \"{$currency}\" not found");
}
because of this check, make a 'default' currency with no formatter to avoid this problems
this file contains predefined list of currencies which is not full, for example there are no cryptocurrencies which openexchangerates system supports, that's why i cant add BTC currency:
because of this check, make a 'default' currency with no formatter to avoid this problems