Update IncomeSummary.php

This commit is contained in:
sausin 2018-12-23 15:07:18 +05:30 committed by GitHub
parent 46d68f3e8c
commit 27088e0d9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ class IncomeSummary extends Controller
$view_template = 'reports.income_summary.index';
}
$print_url = $this->getPrintUrl($year);
$print_url = $this->getPrintUrl(is_array($year) ? $year[0] : $year);
// Incomes chart
$chart = Charts::multi('line', 'chartjs')