Remove multiplication.

This commit is contained in:
James Cole 2015-10-03 22:34:25 +02:00
parent b0988a7b00
commit 28d2583c10

View File

@ -55,7 +55,7 @@ class BudgetRepository extends ComponentRepository implements BudgetRepositoryIn
bcscale(2);
$sum = $budget->transactionjournals()->transactionTypes(['Withdrawal'])->onDate($date)->get(['transaction_journals.*'])->sum('amount');
return bcmul($sum, -1);
return $sum;
}
/**