mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Code clean up.
This commit is contained in:
@@ -89,7 +89,6 @@ class PiggyBankRepetition extends Model
|
||||
)
|
||||
->where(
|
||||
function (EloquentBuilder $q) use ($date) {
|
||||
|
||||
$q->where('targetdate', '>=', $date->format('Y-m-d 00:00:00'));
|
||||
$q->orWhereNull('targetdate');
|
||||
}
|
||||
@@ -103,5 +102,4 @@ class PiggyBankRepetition extends Model
|
||||
{
|
||||
$this->attributes['currentamount'] = strval(round($value, 12));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user