feat: add bylaw management features including documents, legal authorities, subject categories, and nodes

This commit is contained in:
2026-06-26 13:49:50 +03:30
parent 2e26bd229b
commit 9cf6957675
113 changed files with 1112 additions and 358 deletions

View File

@@ -11,7 +11,6 @@ class Division extends Model
protected $fillable = ['title', 'number', 'book_id', 'volum_id', 'law_id'];
public function sections()
{
return $this->hasMany(Section::class);
@@ -47,7 +46,6 @@ class Division extends Model
return $this->hasMany(Art::class);
}
public function gates()
{
return $this->hasMany(Gate::class);
@@ -67,5 +65,4 @@ class Division extends Model
{
return self::where('title', 'LIKE', "%{$searchTerm}%")->limit(3)->get();
}
}