Announcement

Collapse
No announcement yet.

field currency : currencySign at the end of value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • field currency : currencySign at the end of value

    Hello,
    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;
                }
            } 
    Regards
Working...
X