{!! $document->getNumber() !!} |
{!! $document->date !!} |
@if($document->document_type->parent_id)
{{ $document->document_type->parent->name }} ::
@endif
{!! $document->document_type->name !!}
|
@if($document->owner)
{!! $document->owner->short_name !!}
@else
-
@endif
@if($document->assemblyman()->count() > 0)
@foreach($document->assemblyman()->get() as $assemblyman)
- {{$assemblyman->short_name}}
@endforeach
@endif
|
@if($document->content)
{!! strip_tags(Str::limit($document->content, $limit = 500, $end = '...')) !!}
@else
-
@endif
|
@if($document->number==0)
-
@else
{!! $document->number . '/' . $document->getYear($document->date) !!}
@endif
|
@shield('document.read')
@if($document->read == 1)
|
@else
|
@endif
@endshield
@shield('document.approved')
@if($document->approved == 1)
|
@else
|
@endif
@endshield
@if($document->document_protocol)
{{$document->document_protocol->number}}
@else
-
@endif
|
@if($document->document_protocol)
{{date('d/m/Y H:i:s', strtotime($document->document_protocol->created_at))}}
@else
-
@endif
|
@endforeach