Skip to content

Firefly III: a personal finances manager

Reinstated limit repetitions call #508 [skip ci]

James Colecf0845d19012
diff --git a/app/Models/BudgetLimit.php b/app/Models/BudgetLimit.php
index 12728a8469..04ad13e6b4 100644
--- a/app/Models/BudgetLimit.php
+++ b/app/Models/BudgetLimit.php
@@ -67,6 +67,15 @@ class BudgetLimit extends Model
return $this->belongsTo('FireflyIII\Models\Budget');
}
+ /**
+ * @return \Illuminate\Database\Eloquent\Relations\HasMany
+ */
+ public function limitrepetitions()
+ {
+ return $this->hasMany('FireflyIII\Models\LimitRepetition');
+ }
+
+
/**
* @param $value
*/