fixed recurring
This commit is contained in:
@ -136,7 +136,7 @@ class Document extends Model
|
||||
|
||||
public function parent()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Document\Document', 'parent_id');
|
||||
return $this->belongsTo('App\Models\Document\Document', 'parent_id')->isRecurring();
|
||||
}
|
||||
|
||||
public function payments()
|
||||
|
Reference in New Issue
Block a user