mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix amount in box.
This commit is contained in:
parent
46aa7f81b2
commit
dac6efd98b
@ -219,6 +219,7 @@ class JsonController extends Controller
|
||||
}
|
||||
|
||||
$amount = $reportQuery->expenseInPeriodCorrected($start, $end, true)->sum('amount');
|
||||
$amount = $amount * -1;
|
||||
|
||||
$data = ['box' => 'out', 'amount' => Amount::format($amount, false), 'amount_raw' => $amount];
|
||||
$cache->store($data);
|
||||
|
Loading…
Reference in New Issue
Block a user