mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Removed iconv thing that doesn't seem to matter. See screenshot at https://imgur.com/8r26ZZu
This commit is contained in:
parent
293cd72001
commit
59998573ee
@ -89,7 +89,7 @@ class GoogleChartController extends Controller
|
||||
$index = 1;
|
||||
/** @var Account $account */
|
||||
foreach ($accounts as $account) {
|
||||
$accountName = iconv('UTF-8', 'ASCII//TRANSLIT', $account->name);
|
||||
$accountName = $account->name;//iconv('UTF-8', 'ASCII//TRANSLIT', $account->name);
|
||||
$chart->addColumn('Balance for ' . $accountName, 'number');
|
||||
$chart->addCertainty($index);
|
||||
$index++;
|
||||
@ -108,7 +108,7 @@ class GoogleChartController extends Controller
|
||||
$current->addDay();
|
||||
}
|
||||
$chart->generate();
|
||||
|
||||
//header('Content-Type: application/json; charset=utf-8');
|
||||
return Response::json($chart->getData());
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user