mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
add method
This commit is contained in:
@@ -37,6 +37,16 @@ class ConfigDataProvider
|
||||
public function __construct(private Config $config)
|
||||
{}
|
||||
|
||||
/**
|
||||
* Get decimal places.
|
||||
*
|
||||
* @since 8.3.0
|
||||
*/
|
||||
public function getDecimalPlaces(): ?int
|
||||
{
|
||||
return $this->config->get('currencyDecimalPlaces');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a system default currency.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user