Use Symfony formatter for currency symbol placement (#542)
This commit is contained in:
committed by
Kevin Papst
parent
b2587c71b8
commit
616d514d5a
@@ -55,11 +55,12 @@ abstract class AbstractRenderer
|
||||
|
||||
/**
|
||||
* @param $amount
|
||||
* @return mixed
|
||||
* @param $currency
|
||||
* @return string
|
||||
*/
|
||||
protected function getFormattedMoney($amount)
|
||||
protected function getFormattedMoney($amount, $currency)
|
||||
{
|
||||
return $this->extension->money($amount);
|
||||
return $this->extension->money($amount, $currency);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user