mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Dashboard chart text encoding accents #1558
This commit is contained in:
parent
e8f359dce6
commit
41bfea1edb
@ -42,11 +42,11 @@
|
|||||||
},
|
},
|
||||||
label: function(item, data) {
|
label: function(item, data) {
|
||||||
if (item.datasetIndex == 0) {
|
if (item.datasetIndex == 0) {
|
||||||
var label = " {{ trans('texts.invoices') }}: ";
|
var label = " {!! trans('texts.invoices') !!}: ";
|
||||||
} else if (item.datasetIndex == 1) {
|
} else if (item.datasetIndex == 1) {
|
||||||
var label = " {{ trans('texts.payments') }}: ";
|
var label = " {!! trans('texts.payments') !!}: ";
|
||||||
} else if (item.datasetIndex == 2) {
|
} else if (item.datasetIndex == 2) {
|
||||||
var label = " {{ trans('texts.expenses') }}: ";
|
var label = " {!! trans('texts.expenses') !!}: ";
|
||||||
}
|
}
|
||||||
|
|
||||||
return label + formatMoney(item.yLabel, chartCurrencyId, account.country_id);
|
return label + formatMoney(item.yLabel, chartCurrencyId, account.country_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user