mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 14:12:15 +00:00
Change the precision. Should not influence anything.
This commit is contained in:
@@ -268,7 +268,6 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
if (count($ids) > 0) {
|
||||
$accounts = $this->user->accounts()->whereIn('id', $ids)->where('accounts.active', 1)->get();
|
||||
}
|
||||
bcscale(2);
|
||||
|
||||
$accounts->each(
|
||||
function (Account $account) use ($start, $end) {
|
||||
@@ -309,7 +308,6 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$start = clone session('start', new Carbon);
|
||||
$end = clone session('end', new Carbon);
|
||||
|
||||
bcscale(2);
|
||||
|
||||
$accounts->each(
|
||||
function (Account $account) use ($start, $end) {
|
||||
|
||||
@@ -78,7 +78,6 @@ class JournalRepository implements JournalRepositoryInterface
|
||||
->where('transaction_journals.order', '>=', $journal->order)
|
||||
->where('transaction_journals.id', '!=', $journal->id)
|
||||
->get(['transactions.*']);
|
||||
bcscale(2);
|
||||
$sum = '0';
|
||||
foreach ($set as $entry) {
|
||||
$sum = bcadd($entry->amount, $sum);
|
||||
|
||||
@@ -131,7 +131,6 @@ class TagRepository implements TagRepositoryInterface
|
||||
// because there will be less of them any way.
|
||||
$tags = $this->user->tags()->where('tagMode', 'balancingAct')->get();
|
||||
$amount = '0';
|
||||
bcscale(2);
|
||||
|
||||
/** @var Tag $tag */
|
||||
foreach ($tags as $tag) {
|
||||
|
||||
Reference in New Issue
Block a user