mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Fix a sum for #129
This commit is contained in:
@@ -310,9 +310,7 @@ class BudgetRepository extends ComponentRepository implements BudgetRepositoryIn
|
|||||||
->transactionTypes([TransactionType::WITHDRAWAL])
|
->transactionTypes([TransactionType::WITHDRAWAL])
|
||||||
->get(['transaction_journals.*'])->sum('amount');
|
->get(['transaction_journals.*'])->sum('amount');
|
||||||
|
|
||||||
bcscale(2);
|
return $noBudgetSet;
|
||||||
|
|
||||||
return bcmul($noBudgetSet, -1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user