This commit is contained in:
Sevan Nerse
2020-12-28 15:27:38 +03:00
parent f8d0075f79
commit 8f19f0c24f
4 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ class DocumentItem extends Model
public function document()
{
return $this->belongsTo('App\Models\Document\Document')->where('type', $this->type);
return $this->belongsTo('App\Models\Document\Document');
}
public function item()