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

@@ -0,0 +1,8 @@
@extends('admin.layouts.app')
@section('content')
<form method="post" action="{{ route('bylaw-subject-category.update', $bylawSubjectCategory) }}">@csrf @method('PUT')
<input class="form-control mb-2" name="name" value="{{ $bylawSubjectCategory->name }}">
<input class="form-control mb-2" name="slug" value="{{ $bylawSubjectCategory->slug }}">
<input class="form-control mb-2" name="sort_order" type="number" value="{{ $bylawSubjectCategory->sort_order }}">
<select class="form-control mb-2" name="parent_id"><option value="">والد ندارد</option>@foreach($parents as $parent)<option value="{{ $parent->id }}" @selected($bylawSubjectCategory->parent_id===$parent->id)>{{ $parent->name }}</option>@endforeach</select>
<button class="btn btn-primary">بروزرسانی</button></form>@endsection