entity->name ?: trans('texts.untitled_account'); } public function website() { return Utils::addHttp($this->entity->website); } public function currencyCode() { $currencyId = $this->entity->getCurrencyId(); $currency = Utils::getFromCache($currencyId, 'currencies'); return $currency->code; } }