feat: add bylaw management features including documents, legal authorities, subject categories, and nodes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
@extends('admin.layouts.app')
|
||||
@section('content')
|
||||
<form method="post" action="{{ route('bylaw-codification-link.store') }}">@csrf
|
||||
<input class="form-control mb-2" name="source_entity_type" placeholder="source_entity_type">
|
||||
<input class="form-control mb-2" name="source_entity_id" type="number">
|
||||
<input class="form-control mb-2" name="target_entity_type" placeholder="target_entity_type">
|
||||
<input class="form-control mb-2" name="target_entity_id" type="number">
|
||||
<input class="form-control mb-2" name="link_type" placeholder="link_type">
|
||||
<input class="form-control mb-2" name="effective_date" type="date">
|
||||
<textarea class="form-control mb-2" name="justification"></textarea>
|
||||
<button class="btn btn-primary">ذخیره</button></form>@endsection
|
||||
@@ -0,0 +1,3 @@
|
||||
@extends('admin.layouts.app')
|
||||
@section('content')
|
||||
<div class="card"><div class="card-body"><a class="btn btn-primary mb-3" href="{{ route('bylaw-codification-link.create') }}">افزودن</a><table class="table"><thead><tr><th>منبع</th><th>هدف</th><th>نوع</th><th>عملیات</th></tr></thead><tbody>@foreach($items as $item)<tr><td>{{ $item->source_entity_type }}#{{ $item->source_entity_id }}</td><td>{{ $item->target_entity_type }}#{{ $item->target_entity_id }}</td><td>{{ $item->link_type }}</td><td><a class="btn btn-sm btn-primary" href="{{ route('bylaw-codification-link.edit', $item) }}">ویرایش</a></td></tr>@endforeach</tbody></table>{{ $items->links() }}</div></div>@endsection
|
||||
@@ -0,0 +1,11 @@
|
||||
@extends('admin.layouts.app')
|
||||
@section('content')
|
||||
<form method="post" action="{{ route('bylaw-codification-link.update', $bylawCodificationLink) }}">@csrf @method('PUT')
|
||||
<input class="form-control mb-2" name="source_entity_type" value="{{ $bylawCodificationLink->source_entity_type }}">
|
||||
<input class="form-control mb-2" name="source_entity_id" type="number" value="{{ $bylawCodificationLink->source_entity_id }}">
|
||||
<input class="form-control mb-2" name="target_entity_type" value="{{ $bylawCodificationLink->target_entity_type }}">
|
||||
<input class="form-control mb-2" name="target_entity_id" type="number" value="{{ $bylawCodificationLink->target_entity_id }}">
|
||||
<input class="form-control mb-2" name="link_type" value="{{ $bylawCodificationLink->link_type }}">
|
||||
<input class="form-control mb-2" name="effective_date" type="date" value="{{ $bylawCodificationLink->effective_date }}">
|
||||
<textarea class="form-control mb-2" name="justification">{{ $bylawCodificationLink->justification }}</textarea>
|
||||
<button class="btn btn-primary">بروزرسانی</button></form>@endsection
|
||||
Reference in New Issue
Block a user