added locale to profit loss widget
This commit is contained in:
parent
5f476a9de6
commit
5797de7473
@ -58,6 +58,8 @@ class ProfitLoss extends Widget
|
||||
|
||||
$chart->setType('bar')
|
||||
->setOptions($options)
|
||||
->setDefaultLocale($this->getDefaultLocaleOfChart())
|
||||
->setLocales($this->getLocaleTranslationOfChart())
|
||||
->setLabels(array_values($labels))
|
||||
->setColors($colors)
|
||||
->setDataset(trans_choice('general.incomes', 1), 'column', array_values($income))
|
||||
|
Loading…
x
Reference in New Issue
Block a user