mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 03:53:37 +00:00
Fixed a small bug in the bill-chart and simplified yet another Json box.
This commit is contained in:
@@ -302,7 +302,7 @@ class GoogleChartController extends Controller
|
||||
/** @var Bill $entry */
|
||||
foreach ($unpaid as $entry) {
|
||||
$unpaidDescriptions[] = $entry[0]->name . ' (' . $entry[1]->format('jS M Y') . ')';
|
||||
$unpaidAmount += ($bill->amount_max + $bill->amount_min / 2);
|
||||
$unpaidAmount += ($entry[0]->amount_max + $entry[0]->amount_min / 2);
|
||||
}
|
||||
|
||||
$chart->addRow('Unpaid: ' . join(', ', $unpaidDescriptions), $unpaidAmount);
|
||||
|
Reference in New Issue
Block a user