mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup.
This commit is contained in:
@@ -38,6 +38,11 @@ class PiggybankPart
|
||||
*/
|
||||
public function getReminder()
|
||||
{
|
||||
if(is_null($this->reminder)) {
|
||||
$this->reminder = $this->repetition->piggybank->reminders()->where('startdate', $bar->getStartdate()->format('Y-m-d'))->where(
|
||||
'enddate', $bar->getTargetdate()->format('Y-m-d')
|
||||
)->first();
|
||||
}
|
||||
return $this->reminder;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user