Hello,
just a simply request for currency field : add "case 3", see below. (currencySign at the end)
Regards
just a simply request for currency field : add "case 3", see below. (currencySign at the end)
PHP Code:
if ($showCurrency) {
switch ($currencyFormat) {
case 1:
$value = $value . ' ' . $currency;
break;
case 2:
$currencySign = $this->getMetadata()->get(['app', 'currency', 'symbolMap', $currency]);
$value = $currencySign . $value;
break;
case 3:
$currencySign = $this->getMetadata()->get(['app', 'currency', 'symbolMap', $currency]);
$value = $value .$currencySign;
break;
}
}