Account chart can display multiple currencies.

This commit is contained in:
James Cole
2017-04-15 17:26:03 +02:00
parent c7984d4363
commit 209a907c61
4 changed files with 15 additions and 5 deletions

View File

@@ -81,6 +81,9 @@ class ChartJsGenerator implements GeneratorInterface
if (isset($set['fill'])) {
$currentSet['fill'] = $set['fill'];
}
if (isset($set['currency_symbol'])) {
$currentSet['currency_symbol'] = $set['currency_symbol'];
}
$chartData['datasets'][] = $currentSet;
}