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