mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Merge branch 'develop' into adminlte4
This commit is contained in:
@@ -408,7 +408,7 @@ class BasicController extends Controller
|
|||||||
// either an amount was budgeted or 0 is available.
|
// either an amount was budgeted or 0 is available.
|
||||||
$currency = $currencies[$currencyId] ?? $this->currencyRepos->find($currencyId);
|
$currency = $currencies[$currencyId] ?? $this->currencyRepos->find($currencyId);
|
||||||
$currencies[$currencyId] = $currency;
|
$currencies[$currencyId] = $currency;
|
||||||
$amount = $available[$currencyId] ?? '0';
|
$amount = $available[$currencyId]['amount'] ?? '0';
|
||||||
$amountNative = $converter->convert($default, $currency, $start, $amount);
|
$amountNative = $converter->convert($default, $currency, $start, $amount);
|
||||||
$left = bcadd($amount, $spent);
|
$left = bcadd($amount, $spent);
|
||||||
$leftNative = bcadd($amountNative, $spentNative);
|
$leftNative = bcadd($amountNative, $spentNative);
|
||||||
|
Reference in New Issue
Block a user