mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 22:58:09 +00:00
Some translations and cleanup [skip ci]
This commit is contained in:
@@ -122,11 +122,6 @@ class JsonController extends Controller
|
||||
$start = Session::get('start', Carbon::now()->startOfMonth());
|
||||
$end = Session::get('end', Carbon::now()->endOfMonth());
|
||||
$amount = $reportQuery->incomeInPeriodCorrected($start, $end, true)->sum('amount');
|
||||
// $amount = 0;
|
||||
// foreach($set as $entry) {
|
||||
// //echo $entry->description.' ('.$entry->tags->count().'): ' . $entry->amount."\n";
|
||||
// $amount += $entry->amount;
|
||||
// }
|
||||
|
||||
return Response::json(['box' => 'in', 'amount' => Amount::format($amount, false), 'amount_raw' => $amount]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user