mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Cleanup
This commit is contained in:
@@ -115,8 +115,8 @@ class ReportHelper implements ReportHelperInterface
|
||||
$line->setBudget($budget);
|
||||
|
||||
// get budget amount for current period:
|
||||
$rep = $budget->limitrepetitions()->where('budget_limits.startdate',$start->format('Y-m-d 00:00:00'))->first();
|
||||
if($rep) {
|
||||
$rep = $repository->getCurrentRepetition($budget, $start);
|
||||
if ($rep) {
|
||||
$line->setBudgetAmount($rep->amount);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user