Files
law-api/resources/views/admin/bylaw-document/index.blade.php

5 lines
618 B
PHP

@extends('admin.layouts.app')
@section('content')
<div class="card"><div class="card-body"><a class="btn btn-primary mb-3" href="{{ route('bylaw-document.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->title }}</td><td>{{ $item->bylaw_type }}</td><td>{{ $item->global_status }}</td><td><a class="btn btn-sm btn-primary" href="{{ route('bylaw-document.edit', $item) }}">ویرایش</a></td></tr>@endforeach</tbody></table>{{ $items->links() }}</div></div>@endsection