Merge branch 'akaunting:master' into master
This commit is contained in:
commit
bea1e53b30
@ -28,7 +28,7 @@ trait Charts
|
|||||||
|
|
||||||
public function addMoneyToDonut($color, $amount, $description = '')
|
public function addMoneyToDonut($color, $amount, $description = '')
|
||||||
{
|
{
|
||||||
$label = money($amount, setting('default.currency'), true)->format();
|
$label = money($amount, setting('default.currency'), true)->formatForHumans();
|
||||||
|
|
||||||
if (!empty($description)) {
|
if (!empty($description)) {
|
||||||
$label .= ' - ' . $description;
|
$label .= ' - ' . $description;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user