public function preview($recordId = null, $context = null) { $this->bodyClass = 'slim-container'; $this->vars['currency'] = CurrencyModel::getPrimary(); return $this->asExtension('FormController')->preview($recordId, $context); }
public function primaryCode() { return CurrencyModel::getPrimary()->currency_code; }