@extends('layouts.main') @section('page-title') {{ __('Manage Document') }} @endsection @section('page-breadcrumb') {{ __('Document') }} @endsection @section('page-action')
@endsection @push('css') @endpush @section('content')| {{ __('Name') }} | {{ __('Document') }} | {{ __('Role') }} | {{ __('Description') }} | @if (Gate::check('document edit') || Gate::check('document delete')){{ __('Action') }} | @endif
|---|---|---|---|---|
| {{ $document->name }} |
@if (!empty($document->document))
@else
- @endif |
{{ !empty($roles) ? $roles->name : 'All' }} | @if (Gate::check('document edit') || Gate::check('document delete')) | @can('document edit') @endcan @can('document delete') @endcan | @endif