public function getCurrencyCode($sCurrencyCode)
    {
        $obCurrency = $this->obCurrencyList->where('code', $sCurrencyCode)->first();
        if (empty($obCurrency)) {
            return null;
        }

        return $obCurrency->code;
    }
public function getCurrencyCode($sCurrencyCode)
    {
        $obCurrency = $this->obCurrencyList->where('code', $sCurrencyCode)->first();
        if (empty($obCurrency)) {
            return null;
        }

        return $obCurrency->code;
    }
public function getCurrencyCode ( $ sCurrencyCode ) { $ obCurrency = $ this -> obCurrencyList -> where ( 'code' , $ sCurrencyCode ) -> first ( ) ; if ( empty ( $ obCurrency ) ) { return null ; } return $ obCurrency -> code ; }
Get currency code
@param string $sCurrencyCode
@return null|string
Get currency code